Class LibraryDetailField
- Namespace
- EncDotNet.S100.Collections.Library
- Assembly
- EncDotNet.S100.Collections.dll
A labelled value in an item's details.
public sealed record LibraryDetailField : IEquatable<LibraryDetailField>
- Inheritance
-
LibraryDetailField
- Implements
- Inherited Members
Constructors
LibraryDetailField(string, string, bool, string?)
A labelled value in an item's details.
public LibraryDetailField(string Label, string Value, bool IsMono = false, string? CopyValue = null)
Parameters
LabelstringThe field's label.
ValuestringThe value as shown.
IsMonoboolTrue when the value is a code, date or position, shown in monospace.
CopyValuestringWhat "Copy" copies (e.g. a full path or URL), or null when the value cannot be copied.
Properties
CopyValue
What "Copy" copies (e.g. a full path or URL), or null when the value cannot be copied.
public string? CopyValue { get; init; }
Property Value
IsCopyable
True when the field has a CopyValue.
public bool IsCopyable { get; }
Property Value
IsMono
True when the value is a code, date or position, shown in monospace.
public bool IsMono { get; init; }
Property Value
Label
The field's label.
public string Label { get; init; }
Property Value
Value
The value as shown.
public string Value { get; init; }