ConfigurationDebugViewContext
Provides the data about current item of the configuration.
using System.Runtime.CompilerServices;
namespace Microsoft.Extensions.Configuration
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public readonly struct ConfigurationDebugViewContext
{
public string Path { get; }
public string Key { get; }
[System.Runtime.CompilerServices.Nullable(2)]
public string Value {
[System.Runtime.CompilerServices.NullableContext(2)]
get;
}
public IConfigurationProvider ConfigurationProvider { get; }
public ConfigurationDebugViewContext(string path, string key, [System.Runtime.CompilerServices.Nullable(2)] string value, IConfigurationProvider configurationProvider)
{
Path = path;
Key = key;
Value = value;
ConfigurationProvider = configurationProvider;
}
}
}