TerminalNotRunningArgs
Namespace: Hex1b.Widgets
Assembly: Hex1b.dll
Arguments provided to the WhenNotRunning callback.
csharp
public sealed record TerminalNotRunningArgs : IEquatable<TerminalNotRunningArgs>Inheritance
Object → TerminalNotRunningArgs
Implements
Constructors
TerminalNotRunningArgs(TerminalWidgetHandle, TerminalState, int?)
Arguments provided to the WhenNotRunning callback.
Parameters:
Handle(TerminalWidgetHandle): The terminal handle.State(TerminalState): The current terminal state.ExitCode(Nullable<Int32>): The exit code if the terminal completed, null otherwise.
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; }