Skip to content

SizeTotals

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

The basis-resolved totals of a size comparison: file sizes when every provided input is a binary, mstat attributable totals when a bare .mstat is anywhere in the pair — both sides always share one basis so the figures stay comparable.

public sealed record SizeTotals : IEquatable<SizeTotals>

ObjectSizeTotals

The basis-resolved totals of a size comparison: file sizes when every provided input is a binary, mstat attributable totals when a bare .mstat is anywhere in the pair — both sides always share one basis so the figures stay comparable.

Parameters:

  • Basis (SizeBasis): What the totals count.
  • RightTotal (Int64): The current build’s total on Basis.
  • LeftTotal (Nullable<Int64>): The baseline’s total on Basis, or null when there is no baseline.
public SizeTotals(SizeBasis Basis, long RightTotal, long? LeftTotal)

What the totals count.

Returns: SizeBasis

public SizeBasis Basis { get; init; }

The baseline’s total on Basis, or null when there is no baseline.

Returns: Nullable<Int64>

public long? LeftTotal { get; init; }

The current build’s total on Basis.

Returns: Int64

public long RightTotal { get; init; }