Table of Contents

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

ExitCode int?
StderrTail IReadOnlyList<string>
KilledByOs bool
At DateTimeOffset

Properties

At

public DateTimeOffset At { get; init; }

Property Value

DateTimeOffset

ExitCode

public int? ExitCode { get; init; }

Property Value

int?

KilledByOs

public bool KilledByOs { get; init; }

Property Value

bool

StderrTail

public IReadOnlyList<string> StderrTail { get; init; }

Property Value

IReadOnlyList<string>

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

ExitCode int?
StderrTail IReadOnlyList<string>
KilledByOs bool
At DateTimeOffset

Equals(CellContainerExitInfo?)

public bool Equals(CellContainerExitInfo? other)

Parameters

other CellContainerExitInfo

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

ToString()

public override string ToString()

Returns

string

Operators

operator ==(CellContainerExitInfo?, CellContainerExitInfo?)

public static bool operator ==(CellContainerExitInfo? left, CellContainerExitInfo? right)

Parameters

left CellContainerExitInfo
right CellContainerExitInfo

Returns

bool

operator !=(CellContainerExitInfo?, CellContainerExitInfo?)

public static bool operator !=(CellContainerExitInfo? left, CellContainerExitInfo? right)

Parameters

left CellContainerExitInfo
right CellContainerExitInfo

Returns

bool