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