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