Class GraphEdge
A directed edge in an agent graph, connecting a source node to a target node.
The source is implicit — it is the node that owns this edge.
Assembly: LaunchDarkly.ServerSdk.Ai.dll
Syntax
public sealed record GraphEdge : IEquatable<GraphEdge>
Constructors
|
Edit this page
View Source
GraphEdge(string, IReadOnlyDictionary<string, LdValue>)
A directed edge in an agent graph, connecting a source node to a target node.
The source is implicit — it is the node that owns this edge.
Declaration
public GraphEdge(string Key, IReadOnlyDictionary<string, LdValue> Handoff)
Parameters
Properties
|
Edit this page
View Source
Handoff
Declaration
public IReadOnlyDictionary<string, LdValue> Handoff { get; init; }
Property Value
|
Edit this page
View Source
Key
Declaration
public string Key { get; init; }
Property Value
Methods
View Source
Deconstruct(out string, out IReadOnlyDictionary<string, LdValue>)
Declaration
public void Deconstruct(out string Key, out IReadOnlyDictionary<string, LdValue> Handoff)
Parameters
View Source
Equals(GraphEdge?)
Declaration
public bool Equals(GraphEdge? other)
Parameters
Returns
View Source
Equals(object?)
Declaration
public override bool Equals(object? obj)
Parameters
| Type |
Name |
Description |
| object |
obj |
|
Returns
Overrides
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
View Source
ToString()
Declaration
public override string ToString()
Returns
Overrides
Operators
View Source
operator ==(GraphEdge?, GraphEdge?)
Declaration
public static bool operator ==(GraphEdge? left, GraphEdge? right)
Parameters
Returns
View Source
operator !=(GraphEdge?, GraphEdge?)
Declaration
public static bool operator !=(GraphEdge? left, GraphEdge? right)
Parameters
Returns
Implements
Extension Methods