net9.0
namespace Aspire.Hosting.Lifecycle
{
    public static class LifecycleHookServiceCollectionExtensions
    {
        public static void TryAddLifecycleHook<T>(this IServiceCollection! services)
            where T, class, IDistributedApplicationLifecycleHook!;
    }
}
Assembly Aspire.Hosting , Version=9.0.0.0, PublicKeyToken=cc7b13ffcd2ddd51
Help Documentation
.NET 8.09.0
Android 34.0
iOS 17.2
Mac Catalyst 17.2
macOS 14.2
Tizen 8.0
Windows 7.010.0.1904110.0.20348
OS Platforms

For the selected framework this API is supported on all OS platforms.

  • Built-in API
  • Package-provided API

04/30/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙