Skip to content

SizeNode

Namespace: Dotsider.Core.Analysis.Models

Assembly: Dotsider.Core.dll

A node in the size treemap hierarchy. Can be assembly, namespace, type, or method.

public sealed record SizeNode : IEquatable<SizeNode>

ObjectSizeNode

SizeNode(string, string, long, SizeNodeKind, IReadOnlyList<SizeNode>)

Section titled “SizeNode(string, string, long, SizeNodeKind, IReadOnlyList<SizeNode>)”

A node in the size treemap hierarchy. Can be assembly, namespace, type, or method.

Parameters:

  • Name (String): Display name for this node.
  • FullPath (String): Fully qualified path from root (e.g., Assembly/Namespace/Type).
  • Size (Int64): Size in bytes attributed to this node.
  • Kind (SizeNodeKind): The granularity level of this node.
  • Children (IReadOnlyList<SizeNode>): Child nodes in the hierarchy.
public SizeNode(string Name, string FullPath, long Size, SizeNodeKind Kind, IReadOnlyList<SizeNode> Children)

Child nodes in the hierarchy.

Returns: IReadOnlyList<SizeNode>

public IReadOnlyList<SizeNode> Children { get; init; }

Fully qualified path from root (e.g., Assembly/Namespace/Type).

Returns: String

public string FullPath { get; init; }

The granularity level of this node.

Returns: SizeNodeKind

public SizeNodeKind Kind { get; init; }

Display name for this node.

Returns: String

public string Name { get; init; }

Size in bytes attributed to this node.

Returns: Int64

public long Size { get; init; }