共用方式為


Aspire.Hosting.Lifecycle Namespace

Classes

LifecycleHookServiceCollectionExtensions

Provides extension methods for adding lifecycle hooks to the IServiceCollection.

Interfaces

IDistributedApplicationLifecycleHook

Defines an interface for hooks that are executed during the lifecycle of a distributed application.