Class FlowReplayOutcome

Namespace
Kuestenlogik.Bowire.Flows
Assembly
Kuestenlogik.Bowire.Flows.dll

#1051 — how a playback went: how many sends went out, and why it stopped if it did.

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

Constructors

FlowReplayOutcome(int, int, int, string?, long)

#1051 — how a playback went: how many sends went out, and why it stopped if it did.

public FlowReplayOutcome(int Sent, int Total, int Skipped, string? Error, long DurationMs)

Parameters

Sent int
Total int
Skipped int
Error string
DurationMs long

Properties

Completed

Every send went out.

public bool Completed { get; }

Property Value

bool

DurationMs

public long DurationMs { get; init; }

Property Value

long

Error

public string? Error { get; init; }

Property Value

string

Sent

public int Sent { get; init; }

Property Value

int

Skipped

public int Skipped { get; init; }

Property Value

int

Total

public int Total { get; init; }

Property Value

int

Methods

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

public void Deconstruct(out int Sent, out int Total, out int Skipped, out string? Error, out long DurationMs)

Parameters

Sent int
Total int
Skipped int
Error string
DurationMs long

Equals(FlowReplayOutcome?)

public bool Equals(FlowReplayOutcome? other)

Parameters

other FlowReplayOutcome

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

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

Parameters

left FlowReplayOutcome
right FlowReplayOutcome

Returns

bool

operator !=(FlowReplayOutcome?, FlowReplayOutcome?)

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

Parameters

left FlowReplayOutcome
right FlowReplayOutcome

Returns

bool