Class ProbeAssertionVerdict

Namespace
Kuestenlogik.Bowire.Monitoring
Assembly
Kuestenlogik.Bowire.Monitoring.dll

One assertion's verdict — did it pass, and a human-readable why.

public sealed record ProbeAssertionVerdict : IEquatable<ProbeAssertionVerdict>
Inheritance
ProbeAssertionVerdict
Implements
Inherited Members

Constructors

ProbeAssertionVerdict(bool, string)

One assertion's verdict — did it pass, and a human-readable why.

public ProbeAssertionVerdict(bool Passed, string Description)

Parameters

Passed bool
Description string

Properties

Description

public string Description { get; init; }

Property Value

string

Passed

public bool Passed { get; init; }

Property Value

bool

Methods

Deconstruct(out bool, out string)

public void Deconstruct(out bool Passed, out string Description)

Parameters

Passed bool
Description string

Equals(ProbeAssertionVerdict?)

public bool Equals(ProbeAssertionVerdict? other)

Parameters

other ProbeAssertionVerdict

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 ==(ProbeAssertionVerdict?, ProbeAssertionVerdict?)

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

Parameters

left ProbeAssertionVerdict
right ProbeAssertionVerdict

Returns

bool

operator !=(ProbeAssertionVerdict?, ProbeAssertionVerdict?)

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

Parameters

left ProbeAssertionVerdict
right ProbeAssertionVerdict

Returns

bool