IConfigurationProvider
Provides configuration key/values for an application.
using Microsoft.Extensions.Primitives;
using System.Collections.Generic;
using System.Runtime.CompilerServices;
namespace Microsoft.Extensions.Configuration
{
[System.Runtime.CompilerServices.NullableContext(1)]
public interface IConfigurationProvider
{
bool TryGet(string key, [System.Runtime.CompilerServices.Nullable(2)] out string value);
void Set(string key, [System.Runtime.CompilerServices.Nullable(2)] string value);
IChangeToken GetReloadToken();
void Load();
IEnumerable<string> GetChildKeys(IEnumerable<string> earlierKeys, [System.Runtime.CompilerServices.Nullable(2)] string parentPath);
}
}