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
Properties
Body
public string? Body { get; init; }
Property Value
LatencyMs
public double LatencyMs { get; init; }
Property Value
Status
public int Status { get; init; }
Property Value
Methods
Deconstruct(out int, out double, out string?)
public void Deconstruct(out int Status, out double LatencyMs, out string? Body)
Parameters
Equals(ProbeExecutionResult?)
public bool Equals(ProbeExecutionResult? other)
Parameters
otherProbeExecutionResult
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 ==(ProbeExecutionResult?, ProbeExecutionResult?)
public static bool operator ==(ProbeExecutionResult? left, ProbeExecutionResult? right)
Parameters
leftProbeExecutionResultrightProbeExecutionResult
Returns
operator !=(ProbeExecutionResult?, ProbeExecutionResult?)
public static bool operator !=(ProbeExecutionResult? left, ProbeExecutionResult? right)
Parameters
leftProbeExecutionResultrightProbeExecutionResult