Implemented interface member:
method
Build
Microsoft.Extensions.Configuration.IConfigurationBuilder.Build()
54 references to Build
Aspire.Hosting (1)
ProjectResourceBuilderExtensions.cs (1)
641return configBuilder.Build();
Aspire.Hosting.Tests (3)
Dashboard\DashboardLifecycleHookTests.cs (2)
43var configuration = new ConfigurationBuilder().Build(); 84var configuration = new ConfigurationBuilder().Build();
Dcp\ApplicationExecutorTests.cs (1)
1064configuration = builder.Build();
Microsoft.AspNetCore.Components.Endpoints.Tests (2)
Builder\RazorComponentsEndpointConventionBuilderExtensionsTest.cs (1)
274collection.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build());
RazorComponentEndpointInvokerTest.cs (1)
23.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
Microsoft.AspNetCore.Components.Server.Tests (1)
ComponentEndpointRouteBuilderExtensionsTest.cs (1)
141services.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build());
Microsoft.AspNetCore.Hosting.Tests (1)
WebHostTests.cs (1)
1106return new WebHostBuilder().UseConfiguration(config ?? new ConfigurationBuilder().Build()).UseStartup("Microsoft.AspNetCore.Hosting.Tests");
Microsoft.AspNetCore.Identity.EntityFrameworkCore.Test (8)
CustomSchemaTest.cs (1)
22.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
DefaultPocoTest.cs (1)
23.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
EmptySchemaTest.cs (1)
22.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
MaxKeyLengthSchemaTest.cs (1)
23.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
UserOnlyCustomContextTest.cs (1)
67.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
UserOnlyTest.cs (1)
28.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
VersionOneSchemaTest.cs (1)
22.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
VersionTwoSchemaTest.cs (1)
22.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
Microsoft.AspNetCore.Identity.InMemory.Test (2)
ControllerTest.cs (2)
32.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()) 84.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build())
Microsoft.AspNetCore.Identity.Test (21)
IdentityBuilderTest.cs (16)
57.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 67.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 78.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 93.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 108.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 118.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 128.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 138.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 150.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 162.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()) 179.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 203.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 222.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 242.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 254.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build()); 265.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build());
UserManagerTest.cs (5)
17var config = new ConfigurationBuilder().Build(); 32var config = new ConfigurationBuilder().Build(); 791var config = new ConfigurationBuilder().Build(); 888var config = new ConfigurationBuilder().Build(); 1744var config = new ConfigurationBuilder().Build();
Microsoft.AspNetCore.Mvc.RazorPages.Test (1)
Builder\PageActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
216collection.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build());
Microsoft.AspNetCore.Mvc.Test (1)
MvcServiceCollectionExtensionsTest.cs (1)
405services.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build());
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (1)
Builder\ControllerActionEndpointConventionBuilderResourceCollectionExtensionsTest.cs (1)
289collection.AddSingleton<IConfiguration>(new ConfigurationBuilder().Build());
Microsoft.AspNetCore.Server.Kestrel.Core (1)
KestrelServerOptions.cs (1)
430public KestrelConfigurationLoader Configure() => Configure(new ConfigurationBuilder().Build());
Microsoft.AspNetCore.Server.Kestrel.Tests (2)
ConfigurationReaderTests.cs (2)
360var config = new ConfigurationBuilder().Build(); 396var config = new ConfigurationBuilder().Build();
Microsoft.AspNetCore.WebSockets.Tests (1)
KestrelWebSocketHelpers.cs (1)
52var config = configBuilder.Build();
Microsoft.Extensions.AmbientMetadata.Application.Tests (1)
ApplicationMetadataExtensionsTests.cs (1)
36var config = new ConfigurationBuilder().Build();
Microsoft.Extensions.Caching.SqlServer.Tests (1)
SqlServerCacheWithDatabaseTest.cs (1)
50var configuration = configurationBuilder.Build();
Microsoft.Extensions.Diagnostics (1)
Metrics\Configuration\MetricListenerConfigurationFactory.cs (1)
29return configurationBuilder.Build();
Microsoft.Extensions.Http.Resilience.Tests (2)
Helpers\ConfigurationStubFactory.cs (1)
28return new ConfigurationBuilder().Build();
Routing\RoutingStrategyTest.cs (1)
123configure(Builder, builder.Build());
Microsoft.Extensions.Logging.Configuration (1)
LoggerProviderConfigurationFactory.cs (1)
37return configurationBuilder.Build();
Microsoft.Extensions.ObjectPool.DependencyInjection.Tests (2)
DependencyInjectionExtensionsTests.cs (2)
34() => new ServiceCollection().ConfigurePools(builder.Build().GetSection("My:Pools"))); 51var services = new ServiceCollection().ConfigurePools(builder.Build().GetSection("My:Pools"));