Struct Annotated<T>
Represents a value of type T annotated with a string, providing additional context or information about the value.
Inherited Members
Namespace: PoeShared.Scaffolding
Assembly: PoeShared.dll
Syntax
public readonly struct Annotated<T> : IConvertible, IEquatable<Annotated<T>>
Type Parameters
| Name | Description |
|---|---|
| T | The type of the value. |
Constructors
| Name | Description |
|---|---|
| Annotated(T) | Initializes a new instance of the AnnotatedValue struct with the specified value and no annotation. |
| Annotated(T, Func<T, string>) | Initializes a new instance of the AnnotatedValue struct with the specified value and a function to generate the annotation. |
| Annotated(T, string) | Initializes a new instance of the AnnotatedValue struct with the specified value and annotation. |
Properties
| Name | Description |
|---|---|
| Annotation | Gets the annotation associated with the value. |
| Value | Gets the value of type T. |
Methods
Operators
| Name | Description |
|---|---|
| operator ==(Annotated<T>, Annotated<T>) | |
| operator !=(Annotated<T>, Annotated<T>) |