1 write to Source
Microsoft.Extensions.Configuration.FileExtensions (1)
FileConfigurationProvider.cs (1)
31Source = source;
14 references to Source
Microsoft.Extensions.Configuration.FileExtensions (14)
FileConfigurationProvider.cs (14)
33if (Source.ReloadOnChange && Source.FileProvider != null) 36() => Source.FileProvider.Watch(Source.Path!), 39await Task.Delay(Source.ReloadDelay).ConfigureAwait(false); 66=> $"{GetType().Name} for '{Source.Path}' ({(Source.Optional ? "Optional" : "Required")})"; 70IFileInfo? file = Source.FileProvider?.GetFileInfo(Source.Path ?? string.Empty); 136string filePath = file.PhysicalPath ?? Source.Path ?? file.Name; 159if (Source.Optional || reload) // Always optional on reload 166var error = new StringBuilder(SR.Format(SR.Error_FileNotFound, Source.Path ?? file?.Name)); 209if (Source.OnLoadException != null) 216Source.OnLoadException.Invoke(exceptionContext);