12 instantiations of DashboardOptions
Aspire.Hosting.Tests (12)
Dashboard\DashboardEventHandlersTests.cs (11)
234var dashboardOptions = Options.Create(new DashboardOptions 287var dashboardOptions = Options.Create(new DashboardOptions 339var dashboardOptions = Options.Create(new DashboardOptions 380var dashboardOptions = Options.Create(new DashboardOptions 429var dashboardOptions = Options.Create(new DashboardOptions 511var dashboardOptions = Options.Create(new DashboardOptions 599var dashboardOptions = Options.Create(new DashboardOptions { DashboardPath = dashboardDll }); 682var dashboardOptions = Options.Create(new DashboardOptions { DashboardPath = dashboardExe }); 751var dashboardOptions = Options.Create(new DashboardOptions { DashboardPath = dashboardExe }); 818var dashboardOptions = Options.Create(new DashboardOptions { DashboardPath = dashboardDll }); 862dashboardOptions ??= Options.Create(new DashboardOptions { DashboardPath = "test.dll" });
Orchestrator\ApplicationOrchestratorTests.cs (1)
1149Options.Create(dashboardOptions ?? new()),
25 references to DashboardOptions
Aspire.Hosting (10)
Backchannel\DashboardUrlsHelper.cs (2)
76var dashboardOptions = serviceProvider.GetService<IOptions<DashboardOptions>>()?.Value;
Dashboard\DashboardEventHandlers.cs (4)
33IOptions<DashboardOptions> dashboardOptions, 362var options = dashboardOptions.Value; 507var options = dashboardOptions.Value; 599var options = dashboardOptions.Value;
Dashboard\DashboardOptions.cs (2)
34internal class ConfigureDefaultDashboardOptions(IConfiguration configuration, IOptions<DcpOptions> dcpOptions) : IConfigureOptions<DashboardOptions> 36public void Configure(DashboardOptions options)
DistributedApplicationBuilder.cs (1)
527_innerBuilder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<IConfigureOptions<DashboardOptions>, ConfigureDefaultDashboardOptions>());
Orchestrator\ApplicationOrchestrator.cs (1)
52IOptions<DashboardOptions> dashboardOptions,
Aspire.Hosting.Testing.Tests (4)
DashboardTestingBuilderTests.cs (4)
198var dashboardOptions = app.Services.GetRequiredService<IOptions<DashboardOptions>>().Value; 211var dashboardOptions = app.Services.GetRequiredService<IOptions<DashboardOptions>>().Value;
Aspire.Hosting.Tests (11)
Dashboard\DashboardEventHandlersTests.cs (1)
856IOptions<DashboardOptions>? dashboardOptions = null,
Dashboard\DashboardOptionsTests.cs (6)
30var dashboardOptions = app.Services.GetRequiredService<IOptions<DashboardOptions>>().Value; 47var dashboardOptions = app.Services.GetRequiredService<IOptions<DashboardOptions>>().Value; 71var dashboardOptions = app.Services.GetRequiredService<IOptions<DashboardOptions>>().Value;
Dashboard\DashboardResourceTests.cs (2)
212var dashboardOptions = app.Services.GetRequiredService<IOptions<DashboardOptions>>().Value;
Orchestrator\ApplicationOrchestratorTests.cs (1)
1119DashboardOptions? dashboardOptions = null,
WithUrlsTests.cs (1)
244builder.Services.Configure<DashboardOptions>(options =>