Implemented interface member:
property
Sources
Microsoft.Extensions.Configuration.IConfigurationBuilder.Sources
12 references to Sources
Aspire.Hosting.Tests (6)
Dashboard\DashboardResourceTests.cs (6)
92builder.Configuration.Sources.Clear(); 207builder.Configuration.Sources.Clear(); 248builder.Configuration.Sources.Clear(); 284builder.Configuration.Sources.Clear(); 321builder.Configuration.Sources.Clear(); 367builder.Configuration.Sources.Clear();
Microsoft.AspNetCore.Tests (6)
WebApplicationTests.cs (6)
707Assert.Contains(config.Sources, source => source is JsonConfigurationSource jsonSource && jsonSource.Path == "appsettings.json"); 711Assert.Contains(config.Sources, source => source is JsonConfigurationSource jsonSource && jsonSource.Path == "appsettings.Development.json"); 715Assert.DoesNotContain(config.Sources, source => source is JsonConfigurationSource jsonSource && jsonSource.Path == "appsettings.Development.json"); 732Assert.DoesNotContain(config.Sources, source => source is JsonConfigurationSource jsonSource); 765Assert.Contains(config.Sources, source => source is JsonConfigurationSource jsonSource && jsonSource.Path == "secrets.json"); 781Assert.DoesNotContain(config.Sources, source => source is JsonConfigurationSource jsonSource);