IConfiguration
Represents a set of key/value application configuration properties.
using Microsoft.Extensions.Primitives;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Microsoft.Extensions.Configuration
{
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IConfiguration
{
[System.Runtime.CompilerServices.Nullable(2)]
string this[string key] {
[return: System.Runtime.CompilerServices.Nullable(2)]
get;
[param: System.Runtime.CompilerServices.Nullable(2)]
set;
}
IConfigurationSection GetSection(string key);
IEnumerable<IConfigurationSection> GetChildren();
IChangeToken GetReloadToken();
}
}