Skip to content
Docs Try Aspire
Docs Try

InitializeResourceEvent

Handle
📦 Aspire.Hosting v13.4.0
interface InitializeResourceEvent
extends IDistributedApplicationEvent,
IDistributedApplicationResourceEvent {
readonly eventing: IDistributedApplicationEventing;
readonly logger: ILogger;
readonly notifications: ResourceNotificationService;
readonly resource: IResource;
readonly services: IServiceProvider;
}

Properties

property eventing IDistributedApplicationEventing get
The `IDistributedApplicationEventing` service for the app host.
property logger ILogger get
An instance of `ILogger` that can be used to log messages for the resource.
property notifications ResourceNotificationService get
The `ResourceNotificationService` for the app host.
property resource IResource get
Gets the Resource property
property services IServiceProvider get
The `IServiceProvider` for the app host.