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>Inheritance
Section titled “Inheritance”Object → SizeTotals
Implements
Section titled “Implements”Constructors
Section titled “Constructors”SizeTotals(SizeBasis, long, long?)
Section titled “SizeTotals(SizeBasis, long, long?)”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)Properties
Section titled “Properties”What the totals count.
Returns: SizeBasis
public SizeBasis Basis { get; init; }LeftTotal
Section titled “LeftTotal”The baseline’s total on Basis, or null when there is no baseline.
Returns: Nullable<Int64>
public long? LeftTotal { get; init; }RightTotal
Section titled “RightTotal”The current build’s total on Basis.
Returns: Int64
public long RightTotal { get; init; }Methods
Section titled “Methods”Deconstruct(out SizeBasis, out long, out long?)
Section titled “Deconstruct(out SizeBasis, out long, out long?)”Parameters:
Basis(SizeBasis)RightTotal(Int64)LeftTotal(Nullable<Int64>)
public void Deconstruct(out SizeBasis Basis, out long RightTotal, out long? LeftTotal)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)Equals(SizeTotals?)
Section titled “Equals(SizeTotals?)”Parameters:
other(SizeTotals)
Returns: Boolean
public bool Equals(SizeTotals? other)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(SizeTotals?, SizeTotals?)
Section titled “operator !=(SizeTotals?, SizeTotals?)”Parameters:
left(SizeTotals)right(SizeTotals)
Returns: Boolean
public static bool operator !=(SizeTotals? left, SizeTotals? right)operator ==(SizeTotals?, SizeTotals?)
Section titled “operator ==(SizeTotals?, SizeTotals?)”Parameters:
left(SizeTotals)right(SizeTotals)
Returns: Boolean
public static bool operator ==(SizeTotals? left, SizeTotals? right)