SizeDiffKindCounts
Namespace: Dotsider.Core.Analysis.Models
Assembly: Dotsider.Core.dll
Entry counts for one node kind in a size diff, split by direction. Grown and shrunk are the two signs of a changed entry; unchanged entries are counted here but never appear in the delta tree.
public sealed record SizeDiffKindCounts : IEquatable<SizeDiffKindCounts>Inheritance
Section titled “Inheritance”Object → SizeDiffKindCounts
Implements
Section titled “Implements”Constructors
Section titled “Constructors”SizeDiffKindCounts(SizeNodeKind, int, int, int, int, int)
Section titled “SizeDiffKindCounts(SizeNodeKind, int, int, int, int, int)”Entry counts for one node kind in a size diff, split by direction. Grown and shrunk are the two signs of a changed entry; unchanged entries are counted here but never appear in the delta tree.
Parameters:
Kind(SizeNodeKind): The node kind the counts describe.Added(Int32): Entries present only in the comparison build.Removed(Int32): Entries present only in the baseline build.Grown(Int32): Entries present in both builds whose size increased.Shrunk(Int32): Entries present in both builds whose size decreased.Unchanged(Int32): Entries present in both builds at the same size.
public SizeDiffKindCounts(SizeNodeKind Kind, int Added, int Removed, int Grown, int Shrunk, int Unchanged)Properties
Section titled “Properties”Entries present only in the comparison build.
Returns: Int32
public int Added { get; init; }Entries present in both builds whose size increased.
Returns: Int32
public int Grown { get; init; }The node kind the counts describe.
Returns: SizeNodeKind
public SizeNodeKind Kind { get; init; }Removed
Section titled “Removed”Entries present only in the baseline build.
Returns: Int32
public int Removed { get; init; }Shrunk
Section titled “Shrunk”Entries present in both builds whose size decreased.
Returns: Int32
public int Shrunk { get; init; }Unchanged
Section titled “Unchanged”Entries present in both builds at the same size.
Returns: Int32
public int Unchanged { get; init; }