Share via


ResourceEndpointsAllocatedEvent(IResource, IServiceProvider) Constructor

Definition

This event is raised by orchestrators to signal to resources that their endpoints have been allocated.

public ResourceEndpointsAllocatedEvent(Aspire.Hosting.ApplicationModel.IResource resource, IServiceProvider services);
new Aspire.Hosting.ApplicationModel.ResourceEndpointsAllocatedEvent : Aspire.Hosting.ApplicationModel.IResource * IServiceProvider -> Aspire.Hosting.ApplicationModel.ResourceEndpointsAllocatedEvent
Public Sub New (resource As IResource, services As IServiceProvider)

Parameters

resource
IResource
services
IServiceProvider

Remarks

Any resources that customize their URLs via a ResourceUrlsCallbackAnnotation will have their callbacks invoked during this event.

Applies to