1 instantiation of DashboardEventHandlers
Aspire.Hosting.Tests (1)
Dashboard\DashboardLifecycleHookTests.cs (1)
507return new DashboardEventHandlers(
15 references to DashboardEventHandlers
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
408_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); 174var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 232var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 320var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 392var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 462var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 494private static DashboardEventHandlers CreateHook(
Dashboard\DashboardResourceTests.cs (3)
616if (endpoint.Name == DashboardEventHandlers.OtlpGrpcEndpointName) 620else if (endpoint.Name == DashboardEventHandlers.OtlpHttpEndpointName) 624else if (endpoint.Name == DashboardEventHandlers.McpEndpointName)
DistributedApplicationBuilderTests.cs (1)
47s => Assert.IsType<DashboardEventHandlers>(s),