Skip to content
Docs Try Aspire

ResourceEndpointsAllocatedEvent Constructors

Class Constructors 1 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)
{
// ...
}
}
resource IResource
services IServiceProvider
Any resources that customize their URLs via a ResourceUrlsCallbackAnnotation will have their callbacks invoked during this event.