Skip to content

TapeDocument

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Contains an editable sequence of Tape instructions.

csharp
public sealed class TapeDocument

Inheritance

ObjectTapeDocument

Constructors

TapeDocument()

Creates an empty document.

csharp
public TapeDocument()

TapeDocument(IEnumerable<TapeCommand>, string?)

Creates a document by copying the supplied instructions.

Parameters:

csharp
public TapeDocument(IEnumerable<TapeCommand> commands, string? sourceName = null)

Properties

Commands

Gets the mutable list of instructions in execution order.

Returns: IList<TapeCommand>

csharp
public IList<TapeCommand> Commands { get; }

SourceName

Gets the caller-supplied source label.

Returns: String

csharp
public string? SourceName { get; }

Remarks

Commands can be added, removed, reordered, or replaced before playback. Preparation snapshots the sequence for each invocation.

Released under the MIT License.