Skip to content

DependencyGraphPayload

Namespace: Dotsider.Core.Protocol

Assembly: Dotsider.Core.dll

A dependency graph suitable for protocol and MCP responses. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

public sealed record DependencyGraphPayload : IEquatable<DependencyGraphPayload>

ObjectDependencyGraphPayload

DependencyGraphPayload(IReadOnlyList<GraphNode>, IReadOnlyList<GraphEdge>)

Section titled “DependencyGraphPayload(IReadOnlyList<GraphNode>, IReadOnlyList<GraphEdge>)”

A dependency graph suitable for protocol and MCP responses. Defines a stable contract for command-line and MCP protocol responses. Uses an explicit shape that source-generated JSON preserves in Native AOT.

Parameters:

public DependencyGraphPayload(IReadOnlyList<GraphNode> Nodes, IReadOnlyList<GraphEdge> Edges)

Returns: IReadOnlyList<GraphEdge>

public IReadOnlyList<GraphEdge> Edges { get; init; }

Returns: IReadOnlyList<GraphNode>

public IReadOnlyList<GraphNode> Nodes { get; init; }

Deconstruct(out IReadOnlyList<GraphNode>, out IReadOnlyList<GraphEdge>)

Section titled “Deconstruct(out IReadOnlyList<GraphNode>, out IReadOnlyList<GraphEdge>)”

Parameters:

public void Deconstruct(out IReadOnlyList<GraphNode> Nodes, out IReadOnlyList<GraphEdge> Edges)

Parameters:

Returns: Boolean

public bool Equals(DependencyGraphPayload? other)

Parameters:

Returns: Boolean

public override bool Equals(object? obj)

Returns: Int32

public override int GetHashCode()

Returns: String

public override string ToString()

operator !=(DependencyGraphPayload?, DependencyGraphPayload?)

Section titled “operator !=(DependencyGraphPayload?, DependencyGraphPayload?)”

Parameters:

Returns: Boolean

public static bool operator !=(DependencyGraphPayload? left, DependencyGraphPayload? right)

operator ==(DependencyGraphPayload?, DependencyGraphPayload?)

Section titled “operator ==(DependencyGraphPayload?, DependencyGraphPayload?)”

Parameters:

Returns: Boolean

public static bool operator ==(DependencyGraphPayload? left, DependencyGraphPayload? right)