Class VmStepResult
Ergebnis eines VM-Schritts. / Result of one VM step.
public sealed record VmStepResult : IEquatable<VmStepResult>
- Inheritance
-
VmStepResult
- Implements
- Inherited Members
Constructors
VmStepResult(VmState, VmStepStatus, IReadOnlyList<VmDiagnostic>)
Erstellt das bisherige Ergebnisformat. / Creates the previous result shape.
public VmStepResult(VmState State, VmStepStatus Status, IReadOnlyList<VmDiagnostic> Diagnostics)
Parameters
StateVmStateZustand. / State.
StatusVmStepStatusKompatibler Status. / Compatible status.
DiagnosticsIReadOnlyList<VmDiagnostic>Zu kopierende Diagnosen. / Diagnostics to copy.
VmStepResult(VmState, VmStepStatus, IReadOnlyList<VmDiagnostic>, VmCompletionReason, int)
Erstellt ein vollständiges Schrittergebnis. / Creates a complete step result.
public VmStepResult(VmState State, VmStepStatus Status, IReadOnlyList<VmDiagnostic> Diagnostics, VmCompletionReason Reason, int ExecutedInstructions)
Parameters
StateVmStateZustand. / State.
StatusVmStepStatusKompatibler Status. / Compatible status.
DiagnosticsIReadOnlyList<VmDiagnostic>Zu kopierende Diagnosen. / Diagnostics to copy.
ReasonVmCompletionReasonAbschlussgrund. / Completion reason.
ExecutedInstructionsintBegonnene Instruktionen. / Started instructions.
Fields
diagnostics
private readonly VmDiagnostic[] diagnostics
Field Value
Properties
CompletionReason
Ruft den Abschlussgrund unter dem Vertragsnamen ab. / Gets the completion reason by its contract name.
public VmCompletionReason CompletionReason { get; }
Property Value
Diagnostics
Ruft sichere Diagnosen ab. / Gets safe diagnostics.
public IReadOnlyList<VmDiagnostic> Diagnostics { get; }
Property Value
ExecutedInstructions
Ruft den Instruktionszähler ab. / Gets the instruction counter.
public int ExecutedInstructions { get; }
Property Value
Reason
Ruft den Abschlussgrund ab. / Gets the completion reason.
public VmCompletionReason Reason { get; }
Property Value
State
Ruft den Zustand ab. / Gets the state.
public VmState State { get; }
Property Value
Status
Ruft den kompatiblen Status ab. / Gets the compatible status.
public VmStepStatus Status { get; }
Property Value
Methods
Deconstruct(out VmState, out VmStepStatus, out IReadOnlyList<VmDiagnostic>)
Zerlegt das bisherige Ergebnisformat. / Deconstructs the previous result shape.
public void Deconstruct(out VmState State, out VmStepStatus Status, out IReadOnlyList<VmDiagnostic> Diagnostics)
Parameters
StateVmStateZustand. / State.
StatusVmStepStatusKompatibler Status. / Compatible status.
DiagnosticsIReadOnlyList<VmDiagnostic>Defensive Diagnosefolge. / Defensive diagnostic sequence.