Skip to content
DocsTry Aspire
DocsTry

IDistributedApplicationResourceEvent Properties

InterfaceProperties3 members
Represents an event that is published during the lifecycle of the AppHost for a specific resource.
LoggerSection titled LoggervirtualILogger
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; }
ServicesSection titled ServicesvirtualIServiceProvider
The IServiceProvider instance.
public virtual IServiceProvider Services { get; }