Struct AnnotatedBoolean
Represents a boolean value annotated with a string, providing additional context or information about the boolean value.
Inherited Members
Namespace: PoeShared.Scaffolding
Assembly: PoeShared.dll
Syntax
public readonly struct AnnotatedBoolean : IConvertible, IEquatable<AnnotatedBoolean>
Constructors
Name | Description |
---|---|
AnnotatedBoolean(bool, Func<bool, string>) | Initializes a new instance of the AnnotatedBoolean struct with the specified value and a function to generate the annotation. |
AnnotatedBoolean(bool, string) | Initializes a new instance of the AnnotatedBoolean struct with the specified value and annotation. |
Properties
Name | Description |
---|---|
Annotation | Gets the annotation associated with the boolean value. |
Value | Gets the boolean value. |