3 implementations of Sources
Microsoft.AspNetCore.Components.WebAssembly (1)
Hosting\WebAssemblyHostConfiguration.cs (1)
27IList<IConfigurationSource> IConfigurationBuilder.Sources => new ReadOnlyCollection<IConfigurationSource>(_sources.ToArray());
Microsoft.Extensions.Configuration (2)
ConfigurationBuilder.cs (1)
19public IList<IConfigurationSource> Sources => _sources;
ConfigurationManager.cs (1)
76public IList<IConfigurationSource> Sources => _sources;
13 references to Sources
Aspire.Dashboard.Tests (1)
Integration\IntegrationTestHelpers.cs (1)
89var sources = ((IConfigurationBuilder)builder.Configuration).Sources;
Microsoft.AspNetCore.Hosting.Tests (2)
GenericWebHostBuilderTests.cs (2)
58configBuilder.Sources.Clear(); 82configBuilder.Sources.Clear();
Microsoft.AspNetCore.Tests (8)
WebApplicationTests.cs (8)
1191config.Sources.Clear(); 1226config.Sources.Clear(); 2282((IConfigurationBuilder)builder.Configuration).Sources.Clear(); 2324((IConfigurationBuilder)builder.Configuration).Sources.Add(new RandomConfigurationSource()); 2342((IConfigurationBuilder)builder.Configuration).Sources.Add(configSource); 2356((IConfigurationBuilder)builder.Configuration).Sources.Add(configSource); 2370((IConfigurationBuilder)builder.Configuration).Sources.Add(configSource); 2387((IConfigurationBuilder)builder.Configuration).Sources.Add(new RandomConfigurationSource());
Microsoft.Extensions.Configuration.Abstractions (1)
IConfigurationBuilder.cs (1)
33/// <see cref="Sources"/>.
Microsoft.Extensions.Hosting.Testing (1)
FakeHostingExtensions.cs (1)
180if (builder.Sources.LastOrDefault() is FakeConfigurationSource source)