1 instantiation of DashboardEventHandlers
Aspire.Hosting.Tests (1)
Dashboard\DashboardLifecycleHookTests.cs (1)
587return new DashboardEventHandlers(
16 references to DashboardEventHandlers
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
454_innerBuilder.Services.AddEventingSubscriber<DashboardEventHandlers>();
Aspire.Hosting.Tests (15)
Dashboard\DashboardLifecycleHookTests.cs (11)
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); 225var hook = CreateHook( 310var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 398var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 470var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 540var hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions); 572private static DashboardEventHandlers CreateHook(
Dashboard\DashboardResourceTests.cs (3)
696if (endpoint.Name == DashboardEventHandlers.OtlpGrpcEndpointName) 700else if (endpoint.Name == DashboardEventHandlers.OtlpHttpEndpointName) 704else if (endpoint.Name == DashboardEventHandlers.McpEndpointName)
DistributedApplicationBuilderTests.cs (1)
47s => Assert.IsType<DashboardEventHandlers>(s),