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