Skip to content

TerminalNotRunningArgs

Namespace: Hex1b.Widgets

Assembly: Hex1b.dll

Arguments provided to the WhenNotRunning callback.

csharp
public sealed record TerminalNotRunningArgs : IEquatable<TerminalNotRunningArgs>

Inheritance

ObjectTerminalNotRunningArgs

Implements

Constructors

TerminalNotRunningArgs(TerminalWidgetHandle, TerminalState, int?)

Arguments provided to the WhenNotRunning callback.

Parameters:

csharp
public TerminalNotRunningArgs(TerminalWidgetHandle Handle, TerminalState State, int? ExitCode)

Properties

ExitCode

The exit code if the terminal completed, null otherwise.

Returns: Nullable<Int32>

csharp
public int? ExitCode { get; init; }

Handle

The terminal handle.

Returns: TerminalWidgetHandle

csharp
public TerminalWidgetHandle Handle { get; init; }

State

The current terminal state.

Returns: TerminalState

csharp
public TerminalState State { get; init; }

Released under the MIT License.