Table of Contents

Class TernaryStatus

Namespace
HyperX.Types
Assembly
HyperX.Types.dll
public record TernaryStatus : SimpleStatus, IEquatable<SimpleStatus>, IEquatable<TernaryStatus>
Inheritance
TernaryStatus
Implements
Inherited Members

Constructors

TernaryStatus(TernaryStatus)

protected TernaryStatus(TernaryStatus original)

Parameters

original TernaryStatus

TernaryStatus(TernaryStatusCode, string)

public TernaryStatus(TernaryStatusCode status, string message)

Parameters

status TernaryStatusCode
message string

Properties

EqualityContract

protected override Type EqualityContract { get; }

Property Value

Type

Status

public TernaryStatusCode Status { get; }

Property Value

TernaryStatusCode

Success

public override bool Success { get; }

Property Value

bool

Methods

Equals(SimpleStatus?)

public override sealed bool Equals(SimpleStatus? other)

Parameters

other SimpleStatus

Returns

bool

Equals(TernaryStatus?)

public virtual bool Equals(TernaryStatus? other)

Parameters

other TernaryStatus

Returns

bool

Equals(object?)

public override bool Equals(object? obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int

PrintMembers(StringBuilder)

protected override bool PrintMembers(StringBuilder builder)

Parameters

builder StringBuilder

Returns

bool

ToString()

public override string ToString()

Returns

string

Operators

operator ==(TernaryStatus?, TernaryStatus?)

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

Parameters

left TernaryStatus
right TernaryStatus

Returns

bool

operator !=(TernaryStatus?, TernaryStatus?)

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

Parameters

left TernaryStatus
right TernaryStatus

Returns

bool