Class ProbeExecutionResult

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

The raw result of running a probe's recording once, before assertions are applied. Produced by an IProbeExecutor.

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

Constructors

ProbeExecutionResult(int, double, string?)

The raw result of running a probe's recording once, before assertions are applied. Produced by an IProbeExecutor.

public ProbeExecutionResult(int Status, double LatencyMs, string? Body)

Parameters

Status int
LatencyMs double
Body string

Properties

Body

public string? Body { get; init; }

Property Value

string

LatencyMs

public double LatencyMs { get; init; }

Property Value

double

Status

public int Status { get; init; }

Property Value

int

Methods

Deconstruct(out int, out double, out string?)

public void Deconstruct(out int Status, out double LatencyMs, out string? Body)

Parameters

Status int
LatencyMs double
Body string

Equals(ProbeExecutionResult?)

public bool Equals(ProbeExecutionResult? other)

Parameters

other ProbeExecutionResult

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

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

Parameters

left ProbeExecutionResult
right ProbeExecutionResult

Returns

bool

operator !=(ProbeExecutionResult?, ProbeExecutionResult?)

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

Parameters

left ProbeExecutionResult
right ProbeExecutionResult

Returns

bool