Microsoft.Extensions.Configuration.FileExtensions
Provides extension methods for .
Sets the default to be used for file-based providers.
The to add to.
The default file provider instance.
The .
Gets the default to be used for file-based providers.
The .
The default .
Sets the FileProvider for file-based providers to a PhysicalFileProvider with the base path.
The to add to.
The absolute path of file-based providers.
The .
Sets a default action to be invoked for file-based providers when an error occurs.
The to add to.
The Action to be invoked on a file load exception.
The .
Gets a default action to be invoked for file-based providers when an error occurs.
The .
The The Action to be invoked on a file load exception, if set.
Provides the base class for file-based providers.
Initializes a new instance with the specified source.
The source settings.
Gets the source settings for this provider.
Generates a string representing this provider name and relevant details.
The configuration name.
Loads the contents of the file at .
Optional is false on the source and a
directory cannot be found at the specified Path.
Optional is false on the source and a
file does not exist at specified Path.
An exception was thrown by the concrete implementation of the
method. Use the source callback
if you need more control over the exception.
Loads this provider's data from a stream.
The stream to read.
Disposes the provider.
true if invoked from .
Provides the base class for file-based .
Gets or sets the provider used to access the contents of the file.
Gets or sets the path to the file.
Gets or sets a value that indicates whether loading the file is optional.
Gets or sets a value that indicates whether the source will be loaded if the underlying file changes.
Gets or sets the number of milliseconds that reload will wait before calling Load.
The number of milliseconds that reload waits before calling Load. The default is 250.
This delay helps avoid triggering reload before a file is completely written.
Gets or sets the action that's called if an uncaught exception occurs in FileConfigurationProvider.Load.
Builds the for this source.
The .
To be added.
Called to use any default settings on the builder like the FileProvider or FileLoadExceptionHandler.
The .
Creates a physical file provider for the nearest existing directory if no file provider has been set, for absolute Path.
Contains information about a file load exception.
Gets or sets the that caused the exception.
Gets or sets the exception that occurred in Load.
Gets or sets a value that indicates whether the exception is rethrown.
if the exception isn't rethrown; otherwise, .
The expected physical path was '{0}'.
The configuration file '{0}' was not found and is not optional.
Failed to load configuration from file '{0}'.