Class BowirePluginSettingOption

Namespace
Kuestenlogik.Bowire
Assembly
Kuestenlogik.Bowire.dll

Option entry for a "select" type plugin setting.

public sealed record BowirePluginSettingOption : IEquatable<BowirePluginSettingOption>
Inheritance
BowirePluginSettingOption
Implements
Inherited Members

Constructors

BowirePluginSettingOption(string, string)

Option entry for a "select" type plugin setting.

public BowirePluginSettingOption(string Value, string Label)

Parameters

Value string

The stored value.

Label string

What the operator reads.

Properties

Label

What the operator reads.

public string Label { get; init; }

Property Value

string

LabelKey

#691 — optional catalogue key for Label; a property rather than a parameter for the binary-compatibility reason spelled out on BowirePluginSetting.

public string? LabelKey { get; init; }

Property Value

string

Value

The stored value.

public string Value { get; init; }

Property Value

string

Methods

Deconstruct(out string, out string)

public void Deconstruct(out string Value, out string Label)

Parameters

Value string
Label string

Equals(BowirePluginSettingOption?)

public bool Equals(BowirePluginSettingOption? other)

Parameters

other BowirePluginSettingOption

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(BowirePluginSettingOption?, BowirePluginSettingOption?)

public static bool operator ==(BowirePluginSettingOption? left, BowirePluginSettingOption? right)

Parameters

left BowirePluginSettingOption
right BowirePluginSettingOption

Returns

bool

operator !=(BowirePluginSettingOption?, BowirePluginSettingOption?)

public static bool operator !=(BowirePluginSettingOption? left, BowirePluginSettingOption? right)

Parameters

left BowirePluginSettingOption
right BowirePluginSettingOption

Returns

bool