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