Skip to content

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

ObjectTapeCommandTapeKeyCommand

Implements

Constructors

TapeKeyCommand(string, TapeNumberLiteral?, TapeDurationLiteral?, TapeSourceSpan)

Presses a named key or scrolls, with optional repeat and delay operands.

Parameters:

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; }

Released under the MIT License.