Skip to content

RunCostRecalculationResult

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

Result of a cost recalculation.

public sealed record RunCostRecalculationResult : IEquatable<RunCostRecalculationResult>

objectRunCostRecalculationResult

IEquatable<RunCostRecalculationResult>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public RunCostRecalculationResult()

Gets the number of runs considered, that is those with a model and usage.

public required long RunsConsidered { get; init; }

long

Gets the number of runs whose price is still unknown afterwards.

public required long RunsStillUnknown { get; init; }

long

Gets the number of runs whose price resolved and was updated.

public required long RunsUpdated { get; init; }

long

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(RunCostRecalculationResult? other)

other RunCostRecalculationResult?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(RunCostRecalculationResult?, RunCostRecalculationResult?)

Section titled “ operator ==(RunCostRecalculationResult?, RunCostRecalculationResult?)”
public static bool operator ==(RunCostRecalculationResult? left, RunCostRecalculationResult? right)

left RunCostRecalculationResult?

right RunCostRecalculationResult?

bool

operator !=(RunCostRecalculationResult?, RunCostRecalculationResult?)

Section titled “ operator !=(RunCostRecalculationResult?, RunCostRecalculationResult?)”
public static bool operator !=(RunCostRecalculationResult? left, RunCostRecalculationResult? right)

left RunCostRecalculationResult?

right RunCostRecalculationResult?

bool