Skip to content
DocsTry Aspire
DocsTry

AfterPublishEvent Constructors

ClassConstructors1 member
This event is published after the distributed application is published.
Constructor(IServiceProvider, DistributedApplicationModel)Section titled Constructor(IServiceProvider, DistributedApplicationModel)
This event is published after the distributed application is published.
public sealed class AfterPublishEvent
{
public AfterPublishEvent(
IServiceProvider services,
DistributedApplicationModel model)
{
// ...
}
}
servicesIServiceProviderThe IServiceProvider for the app host.