Skip to content
Docs Try Aspire

IDistributedApplicationResourceEvent Properties

Interface Properties 3 members
Represents an event that is published during the lifecycle of the AppHost for a specific resource.
Logger Section titled Logger virtual ILogger
An instance of Logging.ILogger that can be used to log messages for the resource.
public virtual ILogger Logger { get; }
Resource associated with this event.
public abstract IResource Resource { get; }
Services Section titled Services virtual IServiceProvider
The IServiceProvider instance.
public virtual IServiceProvider Services { get; }