Table of Contents

Class CharChainMoveBeforeOperation

Namespace
Gve.Text
Assembly
Gve.Text.dll

A move-before operation for a chain of characters.

public sealed class CharChainMoveBeforeOperation : CharChainOperation, IHasToArgument
Inheritance
CharChainMoveBeforeOperation
Implements
Inherited Members

Constructors

CharChainMoveBeforeOperation()

Initializes a new instance of the CharChainMoveBeforeOperation class.

public CharChainMoveBeforeOperation()

Properties

To

Gets or sets the reference position.

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

Methods

Execute(ChainOperationContext<char>)

Executes this operation on the specified context.

public override void Execute(ChainOperationContext<char> context)

Parameters

context ChainOperationContext<char>

The context.

Exceptions

ArgumentNullException

context

InvalidOperationException

non-zero run

ToString()

Converts to string.

public override string ToString()

Returns

string

A string that represents this instance.

See Also