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