14 instantiations of DashboardOptions
Aspire.Hosting.Tests (14)
Dashboard\DashboardEventHandlersTests.cs (13)
265
var dashboardOptions = new
DashboardOptions
();
316
var dashboardOptions = Options.Create(new
DashboardOptions
368
var dashboardOptions = Options.Create(new
DashboardOptions
410
var dashboardOptions = Options.Create(new
DashboardOptions
459
var dashboardOptions = Options.Create(new
DashboardOptions
541
var dashboardOptions = Options.Create(new
DashboardOptions
628
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
712
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExe });
781
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExe });
848
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
895
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExecutable });
923
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
950
dashboardOptions ??= Options.Create(new
DashboardOptions
{ DashboardPath = typeof(DashboardEventHandlersTests).Assembly.Location });
Orchestrator\ApplicationOrchestratorTests.cs (1)
1194
Options.Create(dashboardOptions ??
new
()),
26 references to DashboardOptions
Aspire.Hosting (10)
Backchannel\DashboardUrlsHelper.cs (2)
76
var
dashboardOptions = serviceProvider.GetService<IOptions<
DashboardOptions
>>()?.Value;
Dashboard\DashboardEventHandlers.cs (4)
32
IOptions<
DashboardOptions
> dashboardOptions,
209
var
options = dashboardOptions.Value;
352
var
options = dashboardOptions.Value;
444
var
options = dashboardOptions.Value;
Dashboard\DashboardOptions.cs (2)
34
internal class ConfigureDefaultDashboardOptions(IConfiguration configuration, IOptions<DcpOptions> dcpOptions) : IConfigureOptions<
DashboardOptions
>
36
public void Configure(
DashboardOptions
options)
DistributedApplicationBuilder.cs (1)
561
_innerBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IConfigureOptions<
DashboardOptions
>, ConfigureDefaultDashboardOptions>());
Orchestrator\ApplicationOrchestrator.cs (1)
52
IOptions<
DashboardOptions
> dashboardOptions,
Aspire.Hosting.Testing.Tests (4)
DashboardTestingBuilderTests.cs (4)
198
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
211
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
Aspire.Hosting.Tests (12)
Dashboard\DashboardEventHandlersTests.cs (2)
265
var
dashboardOptions = new DashboardOptions();
944
IOptions<
DashboardOptions
>? dashboardOptions = null,
Dashboard\DashboardOptionsTests.cs (6)
30
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
47
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
75
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
Dashboard\DashboardResourceTests.cs (2)
230
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
Orchestrator\ApplicationOrchestratorTests.cs (1)
1164
DashboardOptions
? dashboardOptions = null,
WithUrlsTests.cs (1)
266
builder.Services.Configure<
DashboardOptions
>(options =>