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:
modifier(String): The leading modifier name.parts(IEnumerable<String>): The remaining modifier and key names, in source order.span(TapeSourceSpan): The instruction's source range.
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; }