SizeBasisResolver
Namespace: Dotsider.Core.Analysis
Assembly: Dotsider.Core.dll
Resolves the total-size basis for a comparison of mstat inputs. The rule is shared by the
CLI, the MCP server, and the session protocol so a size figure never changes meaning
between surfaces: binaries measure file size on disk; a bare .mstat anywhere forces
mstat totals for both sides.
public static class SizeBasisResolverInheritance
Section titled “Inheritance”Object → SizeBasisResolver
Methods
Section titled “Methods”Resolve(MstatSource, MstatSource?, MstatDiffResult)
Section titled “Resolve(MstatSource, MstatSource?, MstatDiffResult)”Resolves the basis and totals for a target and optional baseline.
Parameters:
target(MstatSource): The build under check.baseline(MstatSource): The baseline, or null when the check runs without one.diff(MstatDiffResult): The computed size diff, whose summary carries the mstat totals.
Returns: SizeTotals
The shared-basis totals.
public static SizeTotals Resolve(MstatSource target, MstatSource? baseline, MstatDiffResult diff)