14 instantiations of DashboardOptions
Aspire.Hosting.Tests (14)
Dashboard\DashboardEventHandlersTests.cs (13)
257
var dashboardOptions = Options.Create(new
DashboardOptions
310
var dashboardOptions = Options.Create(new
DashboardOptions
362
var dashboardOptions = Options.Create(new
DashboardOptions
403
var dashboardOptions = Options.Create(new
DashboardOptions
452
var dashboardOptions = Options.Create(new
DashboardOptions
534
var dashboardOptions = Options.Create(new
DashboardOptions
621
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
705
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExe });
774
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExe });
841
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
888
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardExecutable });
916
var dashboardOptions = Options.Create(new
DashboardOptions
{ DashboardPath = dashboardDll });
943
dashboardOptions ??= Options.Create(new
DashboardOptions
{ DashboardPath = typeof(DashboardEventHandlersTests).Assembly.Location });
Orchestrator\ApplicationOrchestratorTests.cs (1)
1197
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)
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)
556
_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)
937
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)
224
var
dashboardOptions = app.Services.GetRequiredService<IOptions<
DashboardOptions
>>().Value;
Orchestrator\ApplicationOrchestratorTests.cs (1)
1167
DashboardOptions
? dashboardOptions = null,
WithUrlsTests.cs (1)
266
builder.Services.Configure<
DashboardOptions
>(options =>