4 writes to Optional
Microsoft.Extensions.Configuration.Ini (1)
IniConfigurationExtensions.cs (1)
78s.Optional = optional;
Microsoft.Extensions.Configuration.Json (1)
JsonConfigurationExtensions.cs (1)
78s.Optional = optional;
Microsoft.Extensions.Configuration.Xml (1)
XmlConfigurationExtensions.cs (1)
87s.Optional = optional;
Microsoft.Extensions.Telemetry.Tests (1)
Logging\TestConfiguration.cs (1)
24var provider = new TestConfiguration(new JsonConfigurationSource { Optional = true }, getJson);
2 references to Optional
Microsoft.Extensions.Configuration.FileExtensions (2)
FileConfigurationProvider.cs (2)
54=> $"{GetType().Name} for '{Source.Path}' ({(Source.Optional ? "Optional" : "Required")})"; 61if (Source.Optional || reload) // Always optional on reload