WorkflowNodeReference
AgentPrism.Abstractions.dllPoints to a single node entering a workflow’s graph: an agent from the catalog, or a function registered in code.
public sealed record WorkflowNodeReference : IEquatable<WorkflowNodeReference>Inheritance
Section titled “Inheritance”object ← WorkflowNodeReference
Implements
Section titled “Implements”IEquatable<WorkflowNodeReference>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Section titled “Remarks”Used only by WorkflowKind.Sequential definitions that mix
agent and function nodes. A definition that uses only agents keeps using
WorkflowDefinition.AgentNames; the two fields are mutually
exclusive (the validator in AgentPrism.Core enforces this).
WorkflowNodeReference.Kind reuses WorkflowNodeKind, the same enum
the compiled graph reports. Only WorkflowNodeKind.Agent and
WorkflowNodeKind.Function are valid here — the other members
(Orchestration, RequestPort, Output) describe nodes
the compiler adds on its own; a definition never names one directly.
Constructors
Section titled “Constructors”WorkflowNodeReference()
Section titled “ WorkflowNodeReference()”public WorkflowNodeReference()Properties
Section titled “Properties”Gets which registry Name is looked up in.
public required WorkflowNodeKind Kind { get; init; }Property Value
Section titled “Property Value”Gets the referenced name: an agent name from the catalog when WorkflowNodeReference.Kind is WorkflowNodeKind.Agent, or a function name from the code registry when it is WorkflowNodeKind.Function.
public required string Name { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Equals(object?)
Section titled “ Equals(object?)”public override bool Equals(object? obj)Parameters
Section titled “Parameters”obj object?
Returns
Section titled “Returns”Equals(WorkflowNodeReference?)
Section titled “ Equals(WorkflowNodeReference?)”public bool Equals(WorkflowNodeReference? other)Parameters
Section titled “Parameters”other WorkflowNodeReference?
Returns
Section titled “Returns”GetHashCode()
Section titled “ GetHashCode()”public override int GetHashCode()Returns
Section titled “Returns”ToString()
Section titled “ ToString()”public override string ToString()Returns
Section titled “Returns”Operators
Section titled “Operators”operator ==(WorkflowNodeReference?, WorkflowNodeReference?)
Section titled “ operator ==(WorkflowNodeReference?, WorkflowNodeReference?)”public static bool operator ==(WorkflowNodeReference? left, WorkflowNodeReference? right)Parameters
Section titled “Parameters”left WorkflowNodeReference?
right WorkflowNodeReference?
Returns
Section titled “Returns”operator !=(WorkflowNodeReference?, WorkflowNodeReference?)
Section titled “ operator !=(WorkflowNodeReference?, WorkflowNodeReference?)”public static bool operator !=(WorkflowNodeReference? left, WorkflowNodeReference? right)Parameters
Section titled “Parameters”left WorkflowNodeReference?
right WorkflowNodeReference?