Skip to content
Docs Try Aspire

ResourceReadyEvent Constructors

Class Constructors 1 member
Event that is raised when a resource initially transitions to a ready state.
Constructor(IResource, IServiceProvider) Section titled Constructor(IResource, IServiceProvider)
Event that is raised when a resource initially transitions to a ready state.
public class ResourceReadyEvent
{
public ResourceReadyEvent(
IResource resource,
IServiceProvider services)
{
// ...
}
}
resource IResource The resource that is in a ready state.
services IServiceProvider The service provider for the app host.
This event is only fired the first time a resource transitions to a ready state after starting.