1 instantiation of DashboardEventHandlers
Aspire.Hosting.Tests (1)
Dashboard\DashboardLifecycleHookTests.cs (1)
513return new DashboardEventHandlers(
15 references to DashboardEventHandlers
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
444_innerBuilder.Services.AddEventingSubscriber<DashboardEventHandlers>();
Aspire.Hosting.Tests (14)
Dashboard\DashboardLifecycleHookTests.cs (10)
43var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, loggerFactory: factory); 84var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration); 132var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 142var otlpGrpcEndpoint = new EndpointReference(dashboardResource, DashboardEventHandlers.OtlpGrpcEndpointName); 180var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 238var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 326var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 398var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 468var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 500private static DashboardEventHandlers CreateHook(
Dashboard\DashboardResourceTests.cs (3)
626if (endpoint.Name == DashboardEventHandlers.OtlpGrpcEndpointName) 630else if (endpoint.Name == DashboardEventHandlers.OtlpHttpEndpointName) 634else if (endpoint.Name == DashboardEventHandlers.McpEndpointName)
DistributedApplicationBuilderTests.cs (1)
47s => Assert.IsType<DashboardEventHandlers>(s),