Skip to content
DocsTry Aspire
DocsTry

ResourceEndpointsAllocatedEvent Constructors

ClassConstructors1 member
This event is raised by orchestrators to signal to resources that their endpoints have been allocated.
Constructor(IResource, IServiceProvider)Section titled Constructor(IResource, IServiceProvider)
This event is raised by orchestrators to signal to resources that their endpoints have been allocated.
public class ResourceEndpointsAllocatedEvent
{
public ResourceEndpointsAllocatedEvent(
IResource resource,
IServiceProvider services)
{
// ...
}
}
resourceIResource
servicesIServiceProvider
Any resources that customize their URLs via a ResourceUrlsCallbackAnnotation will have their callbacks invoked during this event.