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; }

Deconstruct(out SizeBasis, out long, out long?)

Section titled “Deconstruct(out SizeBasis, out long, out long?)”

Parameters:

public void Deconstruct(out SizeBasis Basis, out long RightTotal, out long? LeftTotal)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Parameters:

Returns: Boolean

public bool Equals(SizeTotals? other)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

Parameters:

Returns: Boolean

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

Parameters:

Returns: Boolean

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