Table of Contents

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

Value SettingValue

The effective value; null for a registered key that has no configured value.

Scope SettingScope

The 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

SettingScope

Value

The effective value; null for a registered key that has no configured value.

public SettingValue? Value { get; init; }

Property Value

SettingValue