1 write to Source
Microsoft.Extensions.Configuration.FileExtensions (1)
FileConfigurationProvider.cs (1)
30Source = source;
13 references to Source
Microsoft.Extensions.Configuration.FileExtensions (13)
FileConfigurationProvider.cs (13)
32if (Source.ReloadOnChange && Source.FileProvider != null) 35() => Source.FileProvider.Watch(Source.Path!), 38Thread.Sleep(Source.ReloadDelay); 54=> $"{GetType().Name} for '{Source.Path}' ({(Source.Optional ? "Optional" : "Required")})"; 58IFileInfo? file = Source.FileProvider?.GetFileInfo(Source.Path ?? string.Empty); 61if (Source.Optional || reload) // Always optional on reload 67var error = new StringBuilder(SR.Format(SR.Error_FileNotFound, Source.Path)); 139if (Source.OnLoadException != null) 146Source.OnLoadException.Invoke(exceptionContext);