Microsoft.Extensions.Configuration
Provides 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 .
Provides a chained implementation of .
Initializes 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.
When this method returns, contains the value.
if a value for the specified key was found, otherwise .
Sets a configuration value for the specified key.
The key.
The value.
Returns a change token if this provider supports change tracking; otherwise returns .
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 the data of this
and the set of keys returned by all the preceding
objects.
The child keys returned by the preceding providers for the same parent path.
The parent path.
The child keys.
Represents a chained as an .
Gets or sets the chained configuration.
Gets or sets a value that indicates whether the chained configuration
is disposed when the configuration provider is disposed.
Builds the for this source.
The .
A instance.
Builds key/value-based configuration settings for use in an application.
Gets the sources used to obtain configuration values.
Gets a key/value collection that can be used to share data between the
and the registered providers.
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.
Implements IComparer to order configuration keys.
Gets 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.
Represents 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 .
Defines the core behavior of configuration providers and provides a base for derived classes.
Initializes a new .
Gets or sets the configuration key-value pairs for this provider.
Attempts to find a value with the given key.
The key to lookup.
When this method returns, contains the value if one is found.
if has a value; 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.
Propagates notifications that a configuration change has occurred.
Gets a value that indicates whether this token proactively raises callbacks. Callbacks are still guaranteed to be invoked, eventually.
if the token proactively raises callbacks.
Gets a value that indicates if a change has occurred.
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.
Triggers the change token when a reload occurs.
Represents 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 subsections.
The children.
Returns a that can be used to observe when this configuration is reloaded.
The .
Gets a configuration subsection with the specified key.
The key of the configuration section.
The .
This method will never return null. If no matching subsection is found with the specified key,
an empty is returned.
Forces 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 .
Provides configuration key-value pairs that are obtained from memory.
Initialize a new instance from the source.
The source settings.
Adds a new key-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
Defines the core behavior of stream-based configuration providers and provides a base for derived classes.
Gets the source settings for this provider.
Initializes a new instance of the class.
The source.
Loads the configuration data from the stream.
The data stream.
Loads the configuration data from the stream.
This method throws an exception on subsequent calls.
Defines the core behavior of stream-based configuration sources and provides a base for derived classes.
Gets or sets the stream containing the configuration data.
Builds the for this source.
The .
An instance.
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 to invoke the callback with.
The action to execute when an is thrown. Should be used to set the IChangeToken's ActiveChangeCallbacks property to false.
The state to be passed into the action.
The registration.
Throws an if is null.
The reference type argument to validate as non-null.
The name of the parameter with which corresponds.
Throws either an or an
if the specified string is or whitespace respectively.
String to be checked for or whitespace.
The name of the parameter being checked.
The original value of .
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 supplying 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 field or property member 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 field and property members 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.