6 writes to DebugSession
Aspire.Dashboard.Tests (6)
Telemetry\DashboardTelemetrySenderTests.cs (4)
23DebugSession = new DebugSessionOptions() 37DebugSession = new DebugSessionOptions 64DebugSession = new DebugSessionOptions 111DebugSession = new DebugSessionOptions
Telemetry\DashboardTelemetryServiceTests.cs (2)
27DebugSession = new DebugSessionOptions 88DebugSession = new DebugSessionOptions
14 references to DebugSession
Aspire.Dashboard (5)
Configuration\ValidateDashboardOptions.cs (1)
147if (!options.DebugSession.TryParseOptions(out var debugSessionParseErrorMessage))
Model\Assistant\ChatClientFactory.cs (2)
184if (!DebugSessionHelpers.HasDebugSession(_dashboardOptions.CurrentValue.DebugSession, out _, out _, out _)) 221if (!DebugSessionHelpers.HasDebugSession(Options.DebugSession, out var serverCert, out var debugSessionUri, out var token))
Telemetry\DashboardTelemetrySender.cs (2)
117if (DebugSessionHelpers.HasDebugSession(_options.Value.DebugSession, out var certificate, out var debugSessionUri, out var token)) 119if (_options.Value.DebugSession.TelemetryOptOut is not true)
Aspire.Dashboard.Tests (9)
Integration\StartupTests.cs (4)
293Assert.Equal(8080, app.DashboardOptionsMonitor.CurrentValue.DebugSession.Port); 295var cert = app.DashboardOptionsMonitor.CurrentValue.DebugSession.GetServerCertificate(); 299Assert.Equal("token!", app.DashboardOptionsMonitor.CurrentValue.DebugSession.Token); 300Assert.Equal(true, app.DashboardOptionsMonitor.CurrentValue.DebugSession.TelemetryOptOut);
Telemetry\DashboardTelemetrySenderTests.cs (3)
46Assert.True(options.Value.DebugSession.TryParseOptions(out _)); 72Assert.True(options.Value.DebugSession.TryParseOptions(out _)); 119Assert.True(options.Value.DebugSession.TryParseOptions(out _));
Telemetry\DashboardTelemetryServiceTests.cs (2)
35Assert.True(options.Value.DebugSession.TryParseOptions(out _)); 96Assert.True(options.Value.DebugSession.TryParseOptions(out _));