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 AppHost.
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 AppHost.
public ResourceNotificationService Notifications { get; }
Resource associated with this event.
public IResource Resource { get; }
ServicesSection titled ServicesIServiceProvider
The IServiceProvider for the AppHost.
public IServiceProvider Services { get; }