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