Implemented interface member:
property
Sources
Microsoft.Extensions.Configuration.IConfigurationBuilder.Sources
12 references to Sources
Aspire.Hosting.Tests (6)
Dashboard\DashboardResourceTests.cs (6)
87builder.Configuration.Sources.Clear(); 193builder.Configuration.Sources.Clear(); 230builder.Configuration.Sources.Clear(); 262builder.Configuration.Sources.Clear(); 297builder.Configuration.Sources.Clear(); 340builder.Configuration.Sources.Clear();
Microsoft.AspNetCore.Tests (6)
WebApplicationTests.cs (6)
705Assert.Contains(config.Sources, source => source is JsonConfigurationSource jsonSource && jsonSource.Path == "appsettings.json"); 709Assert.Contains(config.Sources, source => source is JsonConfigurationSource jsonSource && jsonSource.Path == "appsettings.Development.json"); 713Assert.DoesNotContain(config.Sources, source => source is JsonConfigurationSource jsonSource && jsonSource.Path == "appsettings.Development.json"); 730Assert.DoesNotContain(config.Sources, source => source is JsonConfigurationSource jsonSource); 763Assert.Contains(config.Sources, source => source is JsonConfigurationSource jsonSource && jsonSource.Path == "secrets.json"); 779Assert.DoesNotContain(config.Sources, source => source is JsonConfigurationSource jsonSource);