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>Inheritance
Section titled “Inheritance”Object → DependencyGraphPayload
Implements
Section titled “Implements”Constructors
Section titled “Constructors”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:
Nodes(IReadOnlyList<GraphNode>)Edges(IReadOnlyList<GraphEdge>)
public DependencyGraphPayload(IReadOnlyList<GraphNode> Nodes, IReadOnlyList<GraphEdge> Edges)Properties
Section titled “Properties”Returns: IReadOnlyList<GraphEdge>
public IReadOnlyList<GraphEdge> Edges { get; init; }Returns: IReadOnlyList<GraphNode>
public IReadOnlyList<GraphNode> Nodes { get; init; }Methods
Section titled “Methods”Deconstruct(out IReadOnlyList<GraphNode>, out IReadOnlyList<GraphEdge>)
Section titled “Deconstruct(out IReadOnlyList<GraphNode>, out IReadOnlyList<GraphEdge>)”Parameters:
Nodes(IReadOnlyList<GraphNode>)Edges(IReadOnlyList<GraphEdge>)
public void Deconstruct(out IReadOnlyList<GraphNode> Nodes, out IReadOnlyList<GraphEdge> Edges)Equals(DependencyGraphPayload?)
Section titled “Equals(DependencyGraphPayload?)”Parameters:
other(DependencyGraphPayload)
Returns: Boolean
public bool Equals(DependencyGraphPayload? other)Equals(object?)
Section titled “Equals(object?)”Parameters:
obj(Object)
Returns: Boolean
public override bool Equals(object? obj)GetHashCode()
Section titled “GetHashCode()”Returns: Int32
public override int GetHashCode()ToString()
Section titled “ToString()”Returns: String
public override string ToString()Members
Section titled “Members”operator !=(DependencyGraphPayload?, DependencyGraphPayload?)
Section titled “operator !=(DependencyGraphPayload?, DependencyGraphPayload?)”Parameters:
left(DependencyGraphPayload)right(DependencyGraphPayload)
Returns: Boolean
public static bool operator !=(DependencyGraphPayload? left, DependencyGraphPayload? right)operator ==(DependencyGraphPayload?, DependencyGraphPayload?)
Section titled “operator ==(DependencyGraphPayload?, DependencyGraphPayload?)”Parameters:
left(DependencyGraphPayload)right(DependencyGraphPayload)
Returns: Boolean
public static bool operator ==(DependencyGraphPayload? left, DependencyGraphPayload? right)