16 instantiations of DashboardOptions
Aspire.Hosting.Tests (16)
Dashboard\DashboardEventHandlersTests.cs (14)
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
478
var dashboardOptions = Options.Create(new
DashboardOptions
520
var dashboardOptions = Options.Create(new
DashboardOptions
602
var dashboardOptions = Options.Create(new
DashboardOptions
689
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
773
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExe });
842
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExe });
909
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
956
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExecutable });
984
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
1011
dashboardOptions ??= Options.Create(new
DashboardOptions
{ DashboardPath = typeof(DashboardEventHandlersTests).Assembly.Location });
Orchestrator\ApplicationOrchestratorTests.cs (2)
312
applicationEventing: builder.Eventing, dashboardOptions:
new
() { DashboardUrl = dashboardUrl });
1699
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)
566
_innerBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IConfigureOptions<
DashboardOptions
>, ConfigureDefaultDashboardOptions>());
Orchestrator\ApplicationOrchestrator.cs (1)
53
IOptions<
DashboardOptions
> dashboardOptions,
Aspire.Hosting.Testing.Tests (4)
DashboardTestingBuilderTests.cs (4)
223
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
236
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
Aspire.Hosting.Tests (12)
Dashboard\DashboardEventHandlersTests.cs (2)
265
var
dashboardOptions = new DashboardOptions();
1005
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)
1669
DashboardOptions
? dashboardOptions = null,
WithUrlsTests.cs (1)
474
builder.Services.Configure<
DashboardOptions
>(options =>