Microsoft.Extensions.Configuration.FileExtensions
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 the default to be used for file-based providers.
The .
The .
Base class for file based .
Initializes a new instance with the specified source.
The source settings.
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.
Dispose the provider.
true if invoked from .
Represents a base class for file based .
Used to access the contents of the file.
The path to the file.
Determines if loading the file is optional.
Determines whether the source will be loaded if the underlying file changes.
Number of milliseconds that reload will wait before calling Load. This helps
avoid triggering reload before a file is completely written. Default is 250.
Will be called if an uncaught exception occurs in FileConfigurationProvider.Load.
Builds the for this source.
The .
A
Called to use any default settings on the builder like the FileProvider or FileLoadExceptionHandler.
The .
If no file provider has been set, for absolute Path, this will creates a physical file provider
for the nearest existing directory.
Contains information about a file load exception.
The that caused the exception.
The exception that occurred in Load.
If true, the exception will not be rethrown.
Throws an if is null.
The reference type argument to validate as non-null.
The name of the parameter with which corresponds.
The expected physical path was '{0}'.
The configuration file '{0}' was not found and is not optional.
Failed to load configuration from file '{0}'.
Attribute used to indicate a source generator should create a function for marshalling
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
This attribute is meaningless if the source generator associated with it is not enabled.
The current built-in source generator only supports C# and only supplies an implementation when
applied to static, partial, non-generic methods.
Initializes a new instance of the .
Name of the library containing the import.
Gets the name of the library containing the import.
Gets or sets the name of the entry point to be called.
Gets or sets how to marshal string arguments to the method.
If this field is set to a value other than ,
must not be specified.
Gets or sets the used to control how string arguments to the method are marshalled.
If this field is specified, must not be specified
or must be set to .
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
on other platforms) before returning from the attributed method.
Specifies how strings should be marshalled for generated p/invokes
Indicates the user is suppling a specific marshaller in .
Use the platform-provided UTF-8 marshaller.
Use the platform-provided UTF-16 marshaller.