Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Microsoft.​Extensions.​Configuration.​IConfigurationProvider
Assembly: Microsoft.Extensions.Configuration.Abstractions
Provides configuration key/values for an application.
Methods
System.​Collections.​Generic.​IEnumerable<​string>
GetChildKeys​(System.​Collections.​Generic.​IEnumerable<​string> earlierKeys,
string parentPath)
Returns the immediate descendant configuration keys for a given parent path based on the data of this
<see cref="T:Microsoft.Extensions.Configuration.IConfigurationProvider" /> and the set of keys returned by all the preceding
<see cref="T:Microsoft.Extensions.Configuration.IConfigurationProvider" /> providers.
Returns The child keys.
earlierKeys
The child keys returned by the preceding providers for the same parent path.
parentPath
The parent path.
GetReloadToken​()
Attempts to get an <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> for change tracking.
Returns An <see cref="T:Microsoft.Extensions.Primitives.IChangeToken" /> token if this provider supports change tracking, <see langword="null" /> otherwise.
void
Load​()
Loads configuration values from the source represented by this <see cref="T:Microsoft.Extensions.Configuration.IConfigurationProvider" /> .
void
Set​(string key,
string value)
Sets a configuration value for the specified key.
key
The key.
value
The value.