Skip to content
DocsTry Aspire
DocsTry

InitializeResourceEvent Properties

ClassProperties5 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; }
ServicesSection titled ServicesIServiceProvider
The IServiceProvider for the app host.
public IServiceProvider Services { get; }