19 references to KnownDashboardLaunchContexts
Aspire.Dashboard (7)
Telemetry\DashboardStartupTelemetry.cs (7)
34
KnownDashboardLaunchContexts
.AppHost =>
KnownDashboardLaunchContexts
.AppHost,
35
KnownDashboardLaunchContexts
.Cli =>
KnownDashboardLaunchContexts
.Cli,
36
KnownDashboardLaunchContexts
.Container =>
KnownDashboardLaunchContexts
.Container,
37
_ =>
KnownDashboardLaunchContexts
.Unknown
Aspire.Dashboard.Tests (12)
Integration\StartupTests.cs (3)
1170
[InlineData(
KnownDashboardLaunchContexts
.AppHost)]
1171
[InlineData(
KnownDashboardLaunchContexts
.Cli)]
1269
Assert.Equal(
KnownDashboardLaunchContexts
.Cli, attributes[TelemetryPropertyKeys.StartupLaunchContext]);
Telemetry\DashboardStartupTelemetryTests.cs (9)
56
new(TelemetryPropertyKeys.StartupLaunchContext,
KnownDashboardLaunchContexts
.AppHost),
96
[InlineData("AppHost",
KnownDashboardLaunchContexts
.AppHost)]
97
[InlineData(" CLI ",
KnownDashboardLaunchContexts
.Cli)]
98
[InlineData("Container",
KnownDashboardLaunchContexts
.Container)]
99
[InlineData("unknown",
KnownDashboardLaunchContexts
.Unknown)]
100
[InlineData("custom-context",
KnownDashboardLaunchContexts
.Unknown)]
101
[InlineData("",
KnownDashboardLaunchContexts
.Unknown)]
102
[InlineData(" ",
KnownDashboardLaunchContexts
.Unknown)]
103
[InlineData(null,
KnownDashboardLaunchContexts
.Unknown)]