TapeKeyCommand
Namespace: Hex1b.Automation
Assembly: Hex1b.dll
Presses a named key or scrolls, with optional repeat and delay operands.
csharp
public sealed record TapeKeyCommand : TapeCommand, IEquatable<TapeCommand>, IEquatable<TapeKeyCommand>Inheritance
Object → TapeCommand → TapeKeyCommand
Implements
Constructors
TapeKeyCommand(string, TapeNumberLiteral?, TapeDurationLiteral?, TapeSourceSpan)
Presses a named key or scrolls, with optional repeat and delay operands.
Parameters:
Key(String): The case-sensitive Tape key name.Count(TapeNumberLiteral): The explicit repeat count, or null for one repetition.Delay(TapeDurationLiteral): The explicit delay, or null for the runtime default.Span(TapeSourceSpan): The instruction's source range.
csharp
public TapeKeyCommand(string Key, TapeNumberLiteral? Count, TapeDurationLiteral? Delay, TapeSourceSpan Span)Properties
Count
The explicit repeat count, or null for one repetition.
Returns: TapeNumberLiteral
csharp
public TapeNumberLiteral? Count { get; init; }Delay
The explicit delay, or null for the runtime default.
Returns: TapeDurationLiteral
csharp
public TapeDurationLiteral? Delay { get; init; }Key
The case-sensitive Tape key name.
Returns: String
csharp
public string Key { get; init; }