1 instantiation of DashboardEventHandlers
Aspire.Hosting.Tests (1)
Dashboard\DashboardLifecycleHookTests.cs (1)
513
return 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)
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);
180
var
hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions);
238
var
hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions);
326
var
hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions);
398
var
hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions);
468
var
hook = CreateHook(resourceLoggerService, resourceNotificationService, configuration, dashboardOptions: dashboardOptions);
500
private static
DashboardEventHandlers
CreateHook(
Dashboard\DashboardResourceTests.cs (3)
626
if (endpoint.Name ==
DashboardEventHandlers
.OtlpGrpcEndpointName)
630
else if (endpoint.Name ==
DashboardEventHandlers
.OtlpHttpEndpointName)
634
else if (endpoint.Name ==
DashboardEventHandlers
.McpEndpointName)
DistributedApplicationBuilderTests.cs (1)
47
s => Assert.IsType<
DashboardEventHandlers
>(s),