2 writes to Services
Aspire.Dashboard (2)
DashboardWebApplication.cs (2)
186
Services
= _app.Services;
334
Services
= _app.Services;
12 references to Services
Aspire.Dashboard.Tests (12)
DashboardOptionsTests.cs (2)
264
var options = app.
Services
.GetService<IOptionsMonitor<DashboardOptions>>()!;
313
var openIdConnectAuthOptions = app.
Services
.GetService<IOptionsMonitor<OpenIdConnectOptions>>()?.Get(OpenIdConnectDefaults.AuthenticationScheme);
Integration\McpServiceTests.cs (1)
261
var telemetryService = app.
Services
.GetRequiredService<DashboardTelemetryService>();
Integration\OtlpHttpJsonTests.cs (4)
428
var telemetryRepository = app.
Services
.GetRequiredService<TelemetryRepository>();
489
var telemetryRepository = app.
Services
.GetRequiredService<TelemetryRepository>();
566
var telemetryRepository = app.
Services
.GetRequiredService<TelemetryRepository>();
616
var telemetryRepository = app.
Services
.GetRequiredService<TelemetryRepository>();
Integration\StartupTests.cs (5)
288
var aiContextProvider = app.
Services
.GetRequiredService<IAIContextProvider>();
620
var options = app.
Services
.GetRequiredService<IOptions<LoggerFilterOptions>>();
661
var options = app.
Services
.GetRequiredService<IOptions<LoggerFilterOptions>>();
960
var loggerProviders = app.
Services
.GetServices<ILoggerProvider>();
989
var aiContextProvider = app.
Services
.GetRequiredService<IAIContextProvider>();