Skip to content

DependencyGraphBuilder

Namespace: Dotsider.Core.Analysis

Assembly: Dotsider.Core.dll

Builds the full transitive assembly dependency graph rooted at an analyzed assembly. Performs a breadth-first walk through each assembly’s AssemblyRefs, resolving children by full identity, deduping on Id, preserving edges for cycles and diamonds, and classifying unresolvable and identity-mismatched references as non-expanding leaf nodes. For .NET Framework roots the resolution routes through NetFxBinder so that nodes are keyed on the bound identity (post-redirect), collapsing two distinct requested versions onto a single graph node when policy redirects them to the same loaded version. Produces a DependencyGraphResult containing the public topology plus internal navigation metadata consumed only by the TUI.

public static class DependencyGraphBuilder

ObjectDependencyGraphBuilder

Builds the transitive dependency graph rooted at analyzer.

Parameters:

  • analyzer (AssemblyAnalyzer): The root assembly analyzer. The caller retains ownership and disposal responsibility; the builder does not dispose it.

Returns: DependencyGraphResult

The computed nodes, edges, and per-node navigation metadata.

public static DependencyGraphResult Build(AssemblyAnalyzer analyzer)