Class CharChainOperationSource
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
CharChainOperationThe operation.
Exceptions
Properties
At
The ordinal character number to start at.
public int At { get; set; }
Property Value
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
Diplomatics
The diplomatic description of this operation, representing its graphical representation in the original document.
public OperationDiplomatics? Diplomatics { get; set; }
Property Value
Features
The features to be attached to the result of this operation.
public IList<OperationFeature>? Features { get; set; }
Property Value
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
Id
The operation identifier. This can be used to reference a specific operation in a transformation.
public string Id { get; set; }
Property Value
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
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
Rank
The certainty rank for this operation: 0=not specified, 1=most probable, 2=less probable, etc.
public short Rank { get; set; }
Property Value
Run
The run of characters to include from At.
public int Run { get; set; }
Property Value
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
To
To-coordinate (for move/swap only).
public int To { get; set; }
Property Value
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
ToRun
The run of characters to include from To.
public int ToRun { get; set; }
Property Value
Type
The operation type.
public OperationType Type { get; set; }
Property Value
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
Methods
ToOperation()
Converts this source into the corresponding operation.
public CharChainOperation ToOperation()
Returns
- CharChainOperation
Operation.