12 instantiations of DashboardOptions
Aspire.Hosting.Tests (12)
Dashboard\DashboardEventHandlersTests.cs (11)
234
var dashboardOptions = Options.Create(new
DashboardOptions
287
var dashboardOptions = Options.Create(new
DashboardOptions
339
var dashboardOptions = Options.Create(new
DashboardOptions
380
var dashboardOptions = Options.Create(new
DashboardOptions
429
var dashboardOptions = Options.Create(new
DashboardOptions
511
var dashboardOptions = Options.Create(new
DashboardOptions
599
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
682
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExe });
751
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExe });
818
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
862
dashboardOptions ??= Options.Create(new
DashboardOptions
{ DashboardPath = "test.dll" });
Orchestrator\ApplicationOrchestratorTests.cs (1)
1149
Options.Create(dashboardOptions ??
new
()),
25 references to DashboardOptions
Aspire.Hosting (10)
Backchannel\DashboardUrlsHelper.cs (2)
76
var
dashboardOptions = serviceProvider.GetService<IOptions<
DashboardOptions
>>()?.Value;
Dashboard\DashboardEventHandlers.cs (4)
33
IOptions<
DashboardOptions
> dashboardOptions,
362
var
options = dashboardOptions.Value;
507
var
options = dashboardOptions.Value;
599
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)
527
_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 (11)
Dashboard\DashboardEventHandlersTests.cs (1)
856
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;
71
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
Dashboard\DashboardResourceTests.cs (2)
212
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
Orchestrator\ApplicationOrchestratorTests.cs (1)
1119
DashboardOptions
? dashboardOptions = null,
WithUrlsTests.cs (1)
244
builder.Services.Configure<
DashboardOptions
>(options =>