Class ConfigurationSection
Inheritance
ConfigurationSection
Assembly: Microsoft.Extensions.Configuration.dll
Syntax
public class ConfigurationSection : IConfigurationSection, IConfiguration
Constructors
ConfigurationSection(IConfigurationRoot, string)
Declaration
public ConfigurationSection(IConfigurationRoot root, string path)
Parameters
Properties
this[string]
Declaration
public string? this[string key] { get; set; }
Parameters
Type |
Name |
Description |
string |
key |
|
Property Value
Key
Declaration
public string Key { get; }
Property Value
Path
Declaration
public string Path { get; }
Property Value
Value
Declaration
public string? Value { get; set; }
Property Value
Methods
GetChildren()
Declaration
public IEnumerable<IConfigurationSection> GetChildren()
Returns
GetReloadToken()
Declaration
public IChangeToken GetReloadToken()
Returns
GetSection(string)
Declaration
public IConfigurationSection GetSection(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
Implements