1 instantiation of DashboardLifecycleHook
Aspire.Hosting.Tests (1)
Dashboard\DashboardLifecycleHookTests.cs (1)
501return new DashboardLifecycleHook(
13 references to DashboardLifecycleHook
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
352_innerBuilder.Services.AddLifecycleHook<DashboardLifecycleHook>();
Aspire.Hosting.Tests (12)
Dashboard\DashboardLifecycleHookTests.cs (9)
43var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, loggerFactory: factory); 84var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration); 132var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 168var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 226var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 314var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 386var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 456var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 488private static DashboardLifecycleHook CreateHook(
Dashboard\DashboardResourceTests.cs (2)
558if (endpoint.Name == DashboardLifecycleHook.OtlpGrpcEndpointName) 562else if (endpoint.Name == DashboardLifecycleHook.OtlpHttpEndpointName)
DistributedApplicationBuilderTests.cs (1)
47s => Assert.IsType<DashboardLifecycleHook>(s),