6 writes to DebugSession
Aspire.Dashboard.Tests (6)
Telemetry\DashboardTelemetrySenderTests.cs (4)
23
DebugSession
= new DebugSessionOptions()
37
DebugSession
= new DebugSessionOptions
64
DebugSession
= new DebugSessionOptions
114
DebugSession
= new DebugSessionOptions
Telemetry\DashboardTelemetryServiceTests.cs (2)
27
DebugSession
= new DebugSessionOptions
88
DebugSession
= new DebugSessionOptions
14 references to DebugSession
Aspire.Dashboard (4)
Configuration\ValidateDashboardOptions.cs (1)
179
if (!options.
DebugSession
.TryParseOptions(out var debugSessionParseErrorMessage))
Telemetry\DashboardTelemetrySender.cs (3)
117
if (DebugSessionHelpers.HasDebugSession(_options.Value.
DebugSession
, out var certificate, out var debugSessionUri, out var token))
119
if (_options.Value.
DebugSession
.TelemetryOptOut is not true)
121
client = DebugSessionHelpers.CreateHttpClient(debugSessionUri, token, certificate, CreateHandler, _options.Value.
DebugSession
.DcpInstanceId);
Aspire.Dashboard.Tests (10)
Integration\StartupTests.cs (5)
371
Assert.Equal(8080, app.DashboardOptionsMonitor.CurrentValue.
DebugSession
.Port);
373
var cert = app.DashboardOptionsMonitor.CurrentValue.
DebugSession
.GetServerCertificate();
377
Assert.Equal("token!", app.DashboardOptionsMonitor.CurrentValue.
DebugSession
.Token);
378
Assert.Equal("aspire-extension-run-123-dashboard", app.DashboardOptionsMonitor.CurrentValue.
DebugSession
.DcpInstanceId);
379
Assert.Equal(true, app.DashboardOptionsMonitor.CurrentValue.
DebugSession
.TelemetryOptOut);
Telemetry\DashboardTelemetrySenderTests.cs (3)
46
Assert.True(options.Value.
DebugSession
.TryParseOptions(out _));
73
Assert.True(options.Value.
DebugSession
.TryParseOptions(out _));
123
Assert.True(options.Value.
DebugSession
.TryParseOptions(out _));
Telemetry\DashboardTelemetryServiceTests.cs (2)
35
Assert.True(options.Value.
DebugSession
.TryParseOptions(out _));
96
Assert.True(options.Value.
DebugSession
.TryParseOptions(out _));