TapeDocument
Namespace: Hex1b.Automation
Assembly: Hex1b.dll
Contains an editable sequence of Tape instructions.
csharp
public sealed class TapeDocumentInheritance
Object → TapeDocument
Constructors
TapeDocument()
Creates an empty document.
csharp
public TapeDocument()TapeDocument(IEnumerable<TapeCommand>, string?)
Creates a document by copying the supplied instructions.
Parameters:
commands(IEnumerable<TapeCommand>): The instructions in source order.sourceName(String): The optional source label.
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.