17 instantiations of HostApplicationBuilderSettings
Aspire.Hosting (1)
DistributedApplicationBuilder.cs (1)
126var innerBuilderOptions = new HostApplicationBuilderSettings();
Aspire.Microsoft.EntityFrameworkCore.Cosmos.Tests (2)
AspireAzureEfCoreCosmosDBExtensionsTests.cs (2)
159var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Development }); 182var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Production });
Aspire.Microsoft.EntityFrameworkCore.SqlServer.Tests (2)
AspireSqlServerEFCoreSqlClientExtensionsTests.cs (2)
260var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Development }); 283var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Production });
Aspire.Npgsql.EntityFrameworkCore.PostgreSQL.Tests (2)
AspireEFPostgreSqlExtensionsTests.cs (2)
267var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Development }); 290var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Production });
Aspire.Oracle.EntityFrameworkCore.Tests (2)
AspireOracleEFCoreDatabaseExtensionsTests.cs (2)
261var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Development }); 284var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Production });
Aspire.Pomelo.EntityFrameworkCore.MySql.Tests (2)
AspireEFMySqlExtensionsTests.cs (2)
255var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Development }); 278var builder = Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings { EnvironmentName = Environments.Production });
Microsoft.AspNetCore (3)
WebApplicationBuilder.cs (3)
40_hostApplicationBuilder = new HostApplicationBuilder(new HostApplicationBuilderSettings 95_hostApplicationBuilder = Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings 156_hostApplicationBuilder = Microsoft.Extensions.Hosting.Host.CreateEmptyApplicationBuilder(new HostApplicationBuilderSettings
Microsoft.Extensions.Hosting (3)
HostApplicationBuilder.cs (3)
76: this(new HostApplicationBuilderSettings { Args = args }) 86settings ??= new HostApplicationBuilderSettings(); 122settings ??= new HostApplicationBuilderSettings();
27 references to HostApplicationBuilderSettings
Aspire.Components.Common.Tests (2)
ConformanceTests.cs (2)
457protected IHost CreateHostWithComponent(Action<TOptions>? configureComponent = null, HostApplicationBuilderSettings? hostSettings = null, string? key = null) 538protected HostApplicationBuilder CreateHostBuilder(HostApplicationBuilderSettings? hostSettings = null, string? key = null)
Aspire.Hosting (2)
DistributedApplicationBuilder.cs (2)
126var innerBuilderOptions = new HostApplicationBuilderSettings(); 446private static DiagnosticListener LogBuilderConstructing(DistributedApplicationOptions appBuilderOptions, HostApplicationBuilderSettings hostBuilderOptions)
Aspire.Hosting.Testing (10)
DistributedApplicationEntryPointInvoker.cs (4)
20Action<DistributedApplicationOptions, HostApplicationBuilderSettings>? onConstructing = null, 50private readonly Action<DistributedApplicationOptions, HostApplicationBuilderSettings>? _onConstructing; 58Action<DistributedApplicationOptions, HostApplicationBuilderSettings>? onConstructing, 186var args = ((DistributedApplicationOptions Options, HostApplicationBuilderSettings InnerBuilderOptions))value.Value!;
DistributedApplicationFactory.cs (2)
106protected virtual void OnBuilderCreating(DistributedApplicationOptions applicationOptions, HostApplicationBuilderSettings hostOptions) 140private void OnBuilderCreatingCore(DistributedApplicationOptions applicationOptions, HostApplicationBuilderSettings hostBuilderOptions)
DistributedApplicationTestingBuilder.cs (4)
86public static Task<IDistributedApplicationTestingBuilder> CreateAsync<TEntryPoint>(string[] args, Action<DistributedApplicationOptions, HostApplicationBuilderSettings> configureBuilder, CancellationToken cancellationToken = default) 100public static async Task<IDistributedApplicationTestingBuilder> CreateAsync(Type entryPoint, string[] args, Action<DistributedApplicationOptions, HostApplicationBuilderSettings> configureBuilder, CancellationToken cancellationToken = default) 110private sealed class SuspendingDistributedApplicationFactory(Type entryPoint, string[] args, Action<DistributedApplicationOptions, HostApplicationBuilderSettings> configureBuilder) 121protected override void OnBuilderCreating(DistributedApplicationOptions applicationOptions, HostApplicationBuilderSettings hostOptions)
Aspire.Hosting.Testing.Tests (2)
DistributedApplicationFixtureOfT.cs (1)
16protected override void OnBuilderCreating(DistributedApplicationOptions applicationOptions, HostApplicationBuilderSettings hostOptions)
TestingBuilderTests.cs (1)
80Action<DistributedApplicationOptions, HostApplicationBuilderSettings> configureBuilder = (options, settings) =>
Aspire.Hosting.Tests (5)
Utils\TestDistributedApplicationBuilder.cs (5)
90void Configure(DistributedApplicationOptions applicationOptions, HostApplicationBuilderSettings hostBuilderOptions) 172private readonly Action<DistributedApplicationOptions, HostApplicationBuilderSettings>? _onConstructing; 174private BuilderInterceptor(Action<DistributedApplicationOptions, HostApplicationBuilderSettings>? onConstructing) 180public static DistributedApplicationBuilder CreateBuilder(Action<DistributedApplicationOptions, HostApplicationBuilderSettings> onConstructing) 247var (options, innerBuilderOptions) = ((DistributedApplicationOptions, HostApplicationBuilderSettings))value.Value!;
Microsoft.Extensions.Hosting (6)
Host.cs (2)
100public static HostApplicationBuilder CreateApplicationBuilder(HostApplicationBuilderSettings? settings) 108public static HostApplicationBuilder CreateEmptyApplicationBuilder(HostApplicationBuilderSettings? settings)
HostApplicationBuilder.cs (3)
84public HostApplicationBuilder(HostApplicationBuilderSettings? settings) 118internal HostApplicationBuilder(HostApplicationBuilderSettings? settings, bool empty) 136private void Initialize(HostApplicationBuilderSettings settings, out HostBuilderContext hostBuilderContext, out IHostEnvironment environment, out LoggingBuilder logging, out MetricsBuilder metrics)
HostApplicationBuilderSettings.cs (1)
16/// Initializes an instance of the <see cref="HostApplicationBuilderSettings"/> class.