Struct SegmentMode
Enum that represents the segmentation mode.
[JsonConverter(typeof(SegmentModeConverter))]
public readonly record struct SegmentMode : IEquatable<SegmentMode>
- Implements
- Inherited Members
Properties
AllValues
public static IReadOnlyList<SegmentMode> AllValues { get; }
Property Value
Background
public static SegmentMode Background { get; }
Property Value
Foreground
public static SegmentMode Foreground { get; }
Property Value
Interactive
public static SegmentMode Interactive { get; }
Property Value
Prompt
public static SegmentMode Prompt { get; }
Property Value
Semantic
public static SegmentMode Semantic { get; }
Property Value
Value
public string Value { get; }
Property Value
Methods
Equals(SegmentMode)
public bool Equals(SegmentMode other)
Parameters
otherSegmentMode
Returns
FromString(string)
public static SegmentMode FromString(string value)
Parameters
valuestring
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
implicit operator SegmentMode(string)
public static implicit operator SegmentMode(string value)
Parameters
valuestring