Skip to content

TapeTypeCommand

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Types text using an optional per-character delay.

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

Inheritance

ObjectTapeCommandTapeTypeCommand

Implements

Constructors

TapeTypeCommand(string, TapeDurationLiteral?, TapeSourceSpan)

Types text using an optional per-character delay.

Parameters:

  • Text (String): The text, with consecutive string tokens joined by spaces.
  • Delay (TapeDurationLiteral): The explicit delay, or null to use the runtime default.
  • Span (TapeSourceSpan): The instruction's source range.
csharp
public TapeTypeCommand(string Text, TapeDurationLiteral? Delay, TapeSourceSpan Span)

Properties

Delay

The explicit delay, or null to use the runtime default.

Returns: TapeDurationLiteral

csharp
public TapeDurationLiteral? Delay { get; init; }

Text

The text, with consecutive string tokens joined by spaces.

Returns: String

csharp
public string Text { get; init; }

Released under the MIT License.