Table of Contents

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

Label string

The field's label.

Value string

The value as shown.

IsMono bool

True when the value is a code, date or position, shown in monospace.

CopyValue string

What "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

string

IsCopyable

True when the field has a CopyValue.

public bool IsCopyable { get; }

Property Value

bool

IsMono

True when the value is a code, date or position, shown in monospace.

public bool IsMono { get; init; }

Property Value

bool

Label

The field's label.

public string Label { get; init; }

Property Value

string

Value

The value as shown.

public string Value { get; init; }

Property Value

string