Skip to main content

ProtocolConfigFeatureFlag

Namespace: IotaSdk

Feature flags are a form of boolean configuration that are usually used to gate features while they are in development. Once a lag has been enabled, it is rare for it to be disabled.

public record class ProtocolConfigFeatureFlag : System.IEquatable`1[[IotaSdk.ProtocolConfigFeatureFlag, IotaSdk, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null]]

Inheritance Object → ProtocolConfigFeatureFlag
Implements IEquatable<ProtocolConfigFeatureFlag>
Attributes NullableContextAttribute, NullableAttribute

Properties​

Key​

public string Key { get; init; }

Property Value​

String

Value​

public bool Value { get; init; }

Property Value​

Boolean

Constructors​

ProtocolConfigFeatureFlag(String, Boolean)​

Feature flags are a form of boolean configuration that are usually used to gate features while they are in development. Once a lag has been enabled, it is rare for it to be disabled.

public ProtocolConfigFeatureFlag(string Key, bool Value)

Parameters​

Key String

Value Boolean