Class CellContainerExitInfo
- Namespace
- KernLab.Cell
- Assembly
- KernLab.Cell.dll
容器退出信息(退出码+stderr 尾部取证——容器是黑盒,stderr 是它的窗口,§8)。
public sealed record CellContainerExitInfo : IEquatable<CellContainerExitInfo>
- Inheritance
-
CellContainerExitInfo
- Implements
- Inherited Members
Constructors
CellContainerExitInfo(int?, IReadOnlyList<string>, bool, DateTimeOffset)
容器退出信息(退出码+stderr 尾部取证——容器是黑盒,stderr 是它的窗口,§8)。
public CellContainerExitInfo(int? ExitCode, IReadOnlyList<string> StderrTail, bool KilledByOs, DateTimeOffset At)
Parameters
ExitCodeint?StderrTailIReadOnlyList<string>KilledByOsboolAtDateTimeOffset
Properties
At
public DateTimeOffset At { get; init; }
Property Value
ExitCode
public int? ExitCode { get; init; }
Property Value
- int?
KilledByOs
public bool KilledByOs { get; init; }
Property Value
StderrTail
public IReadOnlyList<string> StderrTail { get; init; }
Property Value
Methods
Deconstruct(out int?, out IReadOnlyList<string>, out bool, out DateTimeOffset)
public void Deconstruct(out int? ExitCode, out IReadOnlyList<string> StderrTail, out bool KilledByOs, out DateTimeOffset At)
Parameters
ExitCodeint?StderrTailIReadOnlyList<string>KilledByOsboolAtDateTimeOffset
Equals(CellContainerExitInfo?)
public bool Equals(CellContainerExitInfo? other)
Parameters
otherCellContainerExitInfo
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(CellContainerExitInfo?, CellContainerExitInfo?)
public static bool operator ==(CellContainerExitInfo? left, CellContainerExitInfo? right)
Parameters
leftCellContainerExitInforightCellContainerExitInfo
Returns
operator !=(CellContainerExitInfo?, CellContainerExitInfo?)
public static bool operator !=(CellContainerExitInfo? left, CellContainerExitInfo? right)
Parameters
leftCellContainerExitInforightCellContainerExitInfo