Table of Contents

Class ChainOperationContext<T>

Namespace
Gve.Text
Assembly
Gve.Text.dll

The data context for a chain operation.

public class ChainOperationContext<T> : ChainOperationContextFeats

Type Parameters

T

The type of chain node data.

Inheritance
ChainOperationContext<T>
Inherited Members

Constructors

ChainOperationContext()

Initializes a new instance of the ChainOperationContext<T> class.

public ChainOperationContext()

Properties

Chain

Gets the chain. This is the target of all the operations for this context.

public Chain<T> Chain { get; }

Property Value

Chain<T>

LastTag

Gets or sets the version tag of the last operation executed on this context.

public string LastTag { get; set; }

Property Value

string

Steps

Gets the steps executed on the chain, each consisting of an operation and input and output version tags.

public List<ChainOperationContextStep> Steps { get; }

Property Value

List<ChainOperationContextStep>

Methods

GetMaxTagNumber()

Gets the maximum tag number among version tags in this context.

public int GetMaxTagNumber()

Returns

int

Max number.

ToString()

Converts to string.

public override string ToString()

Returns

string

String.