Skip to content
Tracon

RunCostRecalculationResult

Namespace Tracon · Assembly Tracon.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()

A run’s price is a snapshot (RunCost): once a run carries a known price (PricingSource.Catalog or PricingSource.Configuration), recalculation never touches it again. Only rows with PricingSource.Unknown — or no cost at all, from before cost tracking existed — are candidates.

public RunCostRecalculationResult()

Gets the number of runs considered, that is those with a model and usage AND an unpriced (PricingSource.Unknown or absent) cost.

public required long RunsConsidered { get; init; }

long

Gets the number of runs skipped because they already carried a known price. A priced run’s cost is a snapshot and is never rewritten.

public required long RunsSkipped { 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