Microsoft.Extensions.Configuration
Extension methods for adding to an .
Adds an existing configuration to .
The to add to.
The to add.
The .
Adds an existing configuration to .
The to add to.
The to add.
Whether the configuration should get disposed when the configuration provider is disposed.
The .
Chained implementation of
Initialize a new instance from the source configuration.
The source configuration.
Gets the chained configuration.
Tries to get a configuration value for the specified key.
The key.
The value.
True if a value for the specified key was found, otherwise false.
Sets a configuration value for the specified key.
The key.
The value.
Returns a change token if this provider supports change tracking, null otherwise.
The change token.
Loads configuration values from the source represented by this .
Returns the immediate descendant configuration keys for a given parent path based on this
s data and the set of keys returned by all the preceding
s.
The child keys returned by the preceding providers for the same parent path.
The parent path.
The child keys.
Represents a chained as an .
The chained configuration.
Whether the chained configuration should be disposed when the
configuration provider gets disposed.
Builds the for this source.
The .
A
Used to build key/value based configuration settings for use in an application.
Returns the sources used to obtain configuration values.
Gets a key/value collection that can be used to share data between the
and the registered s.
Adds a new configuration source.
The configuration source to add.
The same .
Builds an with keys and values from the set of providers registered in
.
An with keys and values from the registered providers.
IComparer implementation used to order configuration keys.
The default instance.
A comparer delegate with the default instance.
Compares two strings.
First string.
Second string.
Less than 0 if x is less than y, 0 if x is equal to y and greater than 0 if x is greater than y.
ConfigurationManager is a mutable configuration object. It is both an and an .
As sources are added, it updates its current view of configuration.
Creates an empty mutable configuration object that is both an and an .
Base helper class for implementing an
Initializes a new
The configuration key value pairs for this provider.
Attempts to find a value with the given key, returns true if one is found, false otherwise.
The key to lookup.
The value found at key if one is found.
True if key has a value, false otherwise.
Sets a value for a given key.
The configuration key to set.
The value to set.
Loads (or reloads) the data for this provider.
Returns the list of keys that this provider has.
The earlier keys that other providers contain.
The path for the parent IConfiguration.
The list of keys for this provider.
Returns a that can be used to listen when this provider is reloaded.
The .
Triggers the reload change token and creates a new one.
Generates a string representing this provider name and relevant details.
The configuration name.
Implements
Indicates if this token will proactively raise callbacks. Callbacks are still guaranteed to be invoked, eventually.
True if the token will proactively raise callbacks.
Gets a value that indicates if a change has occurred.
True if a change has occurred.
Registers for a callback that will be invoked when the entry has changed.
MUST be set before the callback is invoked.
The callback to invoke.
State to be passed into the callback.
The registration.
Used to trigger the change token when a reload occurs.
The root node for a configuration.
Initializes a Configuration root with a list of providers.
The s for this configuration.
The s for this configuration.
Gets or sets the value corresponding to a configuration key.
The configuration key.
The configuration value.
Gets the immediate children sub-sections.
The children.
Returns a that can be used to observe when this configuration is reloaded.
The .
Gets a configuration sub-section with the specified key.
The key of the configuration section.
The .
This method will never return null. If no matching sub-section is found with the specified key,
an empty will be returned.
Force the configuration values to be reloaded from the underlying sources.
Represents a section of application configuration values.
Initializes a new instance.
The configuration root.
The path to this section.
Gets the full path to this section from the .
Gets the key this section occupies in its parent.
Gets or sets the section value.
Gets or sets the value corresponding to a configuration key.
The configuration key.
The configuration value.
Gets a configuration sub-section with the specified key.
The key of the configuration section.
The .
This method will never return null. If no matching sub-section is found with the specified key,
an empty will be returned.
Gets the immediate descendant configuration sub-sections.
The configuration sub-sections.
Returns a that can be used to observe when this configuration is reloaded.
The .
Extensions method for
Gets the immediate children sub-sections of configuration root based on key.
Configuration from which to retrieve sub-sections.
Key of a section of which children to retrieve.
Immediate children sub-sections of section specified by key.
IConfigurationBuilder extension methods for the MemoryConfigurationProvider.
Adds the memory configuration provider to .
The to add to.
The .
Adds the memory configuration provider to .
The to add to.
The data to add to memory configuration provider.
The .
In-memory implementation of
Initialize a new instance from the source.
The source settings.
Add a new key and value pair.
The configuration key.
The configuration value.
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Returns an enumerator that iterates through the collection.
An enumerator that can be used to iterate through the collection.
Represents in-memory data as an .
The initial key value configuration pairs.
Builds the for this source.
The .
A
Stream based configuration provider
The source settings for this provider.
Constructor.
The source.
Load the configuration data from the stream.
The data stream.
Load the configuration data from the stream. Will throw after the first call.
Stream based .
The stream containing the configuration data.
Builds the for this source.
The .
An
Throws an if is null.
The reference type argument to validate as non-null.
The name of the parameter with which corresponds.
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.
A configuration source is not registered. Please register one before setting a value.
Null is not a valid value for '{0}'.
StreamConfigurationProviders cannot be loaded more than once.
Source.Stream cannot be null.
Specifies that null is allowed as an input even if the corresponding type disallows it.
Specifies that null is disallowed as an input even if the corresponding type allows it.
Specifies that an output may be null even if the corresponding type disallows it.
Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.
Specifies that when a method returns , the parameter may be null even if the corresponding type disallows it.
Initializes the attribute with the specified return value condition.
The return value condition. If the method returns this value, the associated parameter may be null.
Gets the return value condition.
Specifies that when a method returns , the parameter will not be null even if the corresponding type allows it.
Initializes the attribute with the specified return value condition.
The return value condition. If the method returns this value, the associated parameter will not be null.
Gets the return value condition.
Specifies that the output will be non-null if the named parameter is non-null.
Initializes the attribute with the associated parameter name.
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
Gets the associated parameter name.
Applied to a method that will never return under any circumstance.
Specifies that the method will not return if the associated Boolean parameter is passed the specified value.
Initializes the attribute with the specified parameter value.
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
the associated parameter matches this value.
Gets the condition parameter value.
Specifies that the method or property will ensure that the listed field and property members have not-null values.
Initializes the attribute with a field or property member.
The field or property member that is promised to be not-null.
Initializes the attribute with the list of field and property members.
The list of field and property members that are promised to be not-null.
Gets field or property member names.
Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.
Initializes the attribute with the specified return value condition and a field or property member.
The return value condition. If the method returns this value, the associated parameter will not be null.
The field or property member that is promised to be not-null.
Initializes the attribute with the specified return value condition and list of field and property members.
The return value condition. If the method returns this value, the associated parameter will not be null.
The list of field and property members that are promised to be not-null.
Gets the return value condition.
Gets field or property member names.