Class EffectiveSetting
- Namespace
- OpenShell
- Assembly
- OpenShell.Sdk.dll
A setting value paired with the scope it resolved from.
public sealed record EffectiveSetting : IEquatable<EffectiveSetting>
- Inheritance
-
EffectiveSetting
- Implements
- Inherited Members
Remarks
Value is null for a registered key that has no configured value.
Constructors
EffectiveSetting(SettingValue?, SettingScope)
A setting value paired with the scope it resolved from.
public EffectiveSetting(SettingValue? Value, SettingScope Scope)
Parameters
ValueSettingValueThe effective value; null for a registered key that has no configured value.
ScopeSettingScopeThe scope the value resolved from.
Remarks
Value is null for a registered key that has no configured value.
Properties
Scope
The scope the value resolved from.
public SettingScope Scope { get; init; }
Property Value
Value
The effective value; null for a registered key that has no configured value.
public SettingValue? Value { get; init; }