Table of Contents

Class CharChainOperationSource

Namespace
Gve.Text.DTO
Assembly
Gve.Text.dll

Source data for building a character-based chain operation.

public class CharChainOperationSource
Inheritance
CharChainOperationSource
Inherited Members

Constructors

CharChainOperationSource()

Initializes a new instance of the CharChainOperationSource class.

public CharChainOperationSource()

CharChainOperationSource(CharChainOperation)

Initializes a new instance of the CharChainOperationSource class.

public CharChainOperationSource(CharChainOperation operation)

Parameters

operation CharChainOperation

The operation.

Exceptions

ArgumentNullException

Properties

At

The ordinal character number to start at.

public int At { get; set; }

Property Value

int

AtAsIndex

Gets or sets a value indicating whether At refers to an index rather than a chain node ID.

public bool AtAsIndex { get; set; }

Property Value

bool

Diplomatics

The diplomatic description of this operation, representing its graphical representation in the original document.

public OperationDiplomatics? Diplomatics { get; set; }

Property Value

OperationDiplomatics

Features

The features to be attached to the result of this operation.

public IList<OperationFeature>? Features { get; set; }

Property Value

IList<OperationFeature>

GroupId

The optional group identifier. When an operation is part of a group, all the operation in it are considered as a unique virtual operation.

public string? GroupId { get; set; }

Property Value

string

Id

The operation identifier. This can be used to reference a specific operation in a transformation.

public string Id { get; set; }

Property Value

string

InputTag

The input version tag for this operation. If null, the default tag (=the tag of the last operation executed on the context) is used.

public string? InputTag { get; set; }

Property Value

string

OutputTag

The output version tag for this operation. If null, a value will be automatically generated from the input tag if this ends with digits; else, it will be equal to the input tag.

public string? OutputTag { get; set; }

Property Value

string

Rank

The certainty rank for this operation: 0=not specified, 1=most probable, 2=less probable, etc.

public short Rank { get; set; }

Property Value

short

Run

The run of characters to include from At.

public int Run { get; set; }

Property Value

int

Sources

The sources for this operation. These represent any type of source for it, such as a manuscript, an author, etc.

public IList<OperationSource>? Sources { get; set; }

Property Value

IList<OperationSource>

To

To-coordinate (for move/swap only).

public int To { get; set; }

Property Value

int

ToAsIndex

Gets or sets a value indicating whether To refers to an index rather than a chain node ID.

public bool ToAsIndex { get; set; }

Property Value

bool

ToRun

The run of characters to include from To.

public int ToRun { get; set; }

Property Value

int

Type

The operation type.

public OperationType Type { get; set; }

Property Value

OperationType

Value

Gets the value argument for this operation. This is the primary argument, whose meaning varies depending on the operation type.

public string? Value { get; set; }

Property Value

string

Methods

ToOperation()

Converts this source into the corresponding operation.

public CharChainOperation ToOperation()

Returns

CharChainOperation

Operation.