Skip to content

TapeExecutionResult

Namespace: Hex1b.Automation

Assembly: Hex1b.dll

Owns the final snapshot and describes completed playback.

csharp
public sealed class TapeExecutionResult : IDisposable

Inheritance

ObjectTapeExecutionResult

Implements

Properties

Artifacts

Gets successfully finalized artifact destinations.

Returns: IReadOnlyList<TapeArtifact>

csharp
public IReadOnlyList<TapeArtifact> Artifacts { get; }

CompletedCommandCount

Gets the number of completed source commands, not generated primitive steps.

Returns: Int32

csharp
public int CompletedCommandCount { get; }

Diagnostics

Gets preparation and playback information and warnings.

Returns: IReadOnlyList<TapeDiagnostic>

csharp
public IReadOnlyList<TapeDiagnostic> Diagnostics { get; }

Elapsed

Gets elapsed execution time, including hidden intervals.

Returns: TimeSpan

csharp
public TimeSpan Elapsed { get; }

FinalSnapshot

Gets the final terminal snapshot, owned by this result.

Returns: Hex1bTerminalSnapshot

csharp
public Hex1bTerminalSnapshot FinalSnapshot { get; }

ProcessExitCode

Gets the naturally observed exit code of an owned process, if any.

Returns: Nullable<Int32>

csharp
public int? ProcessExitCode { get; }

TerminalSize

Gets the final terminal size in columns and rows.

Returns: Size

csharp
public Size TerminalSize { get; }

Methods

Dispose()

Releases the owned snapshot.

csharp
public void Dispose()

Remarks

Dispose the result to release the snapshot. This never disposes the terminal.

Released under the MIT License.