Class ConfigurationManager
Inheritance
ConfigurationManager
Assembly: Microsoft.Extensions.Configuration.dll
Syntax
public sealed class ConfigurationManager : IConfigurationManager, IConfigurationBuilder, IConfigurationRoot, IConfiguration, IDisposable
Constructors
ConfigurationManager()
Declaration
public ConfigurationManager()
Properties
this[string]
Declaration
public string? this[string key] { get; set; }
Parameters
Type |
Name |
Description |
string |
key |
|
Property Value
Sources
Declaration
public IList<IConfigurationSource> Sources { get; }
Property Value
Methods
Dispose()
Declaration
GetChildren()
Declaration
public IEnumerable<IConfigurationSection> GetChildren()
Returns
GetSection(string)
Declaration
public IConfigurationSection GetSection(string key)
Parameters
Type |
Name |
Description |
string |
key |
|
Returns
Implements
Extension Methods