Skip to content

TapeChordCommand ​

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Represents a Ctrl, Alt, or Shift instruction and its ordered operands.

csharp
public sealed record TapeChordCommand : TapeCommand, IEquatable<TapeCommand>, IEquatable<TapeChordCommand>

Inheritance ​

Object → TapeCommand → TapeChordCommand

Implements ​

Constructors ​

TapeChordCommand(string, IEnumerable<string>, TapeSourceSpan) ​

Creates a modifier instruction, copying the ordered operands.

Parameters:

csharp
public TapeChordCommand(string modifier, IEnumerable<string> parts, TapeSourceSpan span)

Properties ​

Modifier ​

Gets the leading modifier name.

Returns: String

csharp
public string Modifier { get; }

Parts ​

Gets the ordered operands, excluding the leading modifier.

Returns: IReadOnlyList<String>

csharp
public IReadOnlyList<string> Parts { get; }

Released under the MIT License.