Skip to content
Docs Try Aspire

InitializeResourceEvent Properties

Class Properties 5 members
This event is raised by orchestrators to signal to resources that they should initialize themselves.
The IDistributedApplicationEventing service for the app host.
public IDistributedApplicationEventing Eventing { get; }
An instance of Logging.ILogger that can be used to log messages for the resource.
public ILogger Logger { get; }
The ResourceNotificationService for the app host.
public ResourceNotificationService Notifications { get; }
Resource associated with this event.
public IResource Resource { get; }
Services Section titled Services IServiceProvider
The IServiceProvider for the app host.
public IServiceProvider Services { get; }