WorkflowFunctionResponse
AgentPrism.AspNetCore.dllWire-safe view of a registered function node.
public sealed record WorkflowFunctionResponse : IEquatable<WorkflowFunctionResponse>Inheritance
Section titled “Inheritance”object ← WorkflowFunctionResponse
Implements
Section titled “Implements”IEquatable<WorkflowFunctionResponse>
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”WorkflowFunctionDescriptor carries Type
properties, and System.Text.Json refuses to serialize a
Type instance (measured: NotSupportedException) - the
HTTP layer projects the CLR type down to its display name instead.
Constructors
Section titled “Constructors”WorkflowFunctionResponse()
Section titled “ WorkflowFunctionResponse()”public WorkflowFunctionResponse()Properties
Section titled “Properties”Description
Section titled “ Description”The short description of what the function does.
public string? Description { get; init; }Property Value
Section titled “Property Value”InputType
Section titled “ InputType”The display name of the CLR type the function accepts.
public required string InputType { get; init; }Property Value
Section titled “Property Value”The function’s unique name.
public required string Name { get; init; }Property Value
Section titled “Property Value”OutputType
Section titled “ OutputType”The display name of the CLR type the function returns.
public required string OutputType { 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(WorkflowFunctionResponse?)
Section titled “ Equals(WorkflowFunctionResponse?)”public bool Equals(WorkflowFunctionResponse? other)Parameters
Section titled “Parameters”other WorkflowFunctionResponse?
Returns
Section titled “Returns”From(WorkflowFunctionDescriptor)
Section titled “ From(WorkflowFunctionDescriptor)”Projects a descriptor into its wire-safe view.
public static WorkflowFunctionResponse From(WorkflowFunctionDescriptor descriptor)Parameters
Section titled “Parameters”descriptor WorkflowFunctionDescriptor
The descriptor to project.
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 ==(WorkflowFunctionResponse?, WorkflowFunctionResponse?)
Section titled “ operator ==(WorkflowFunctionResponse?, WorkflowFunctionResponse?)”public static bool operator ==(WorkflowFunctionResponse? left, WorkflowFunctionResponse? right)Parameters
Section titled “Parameters”left WorkflowFunctionResponse?
right WorkflowFunctionResponse?
Returns
Section titled “Returns”operator !=(WorkflowFunctionResponse?, WorkflowFunctionResponse?)
Section titled “ operator !=(WorkflowFunctionResponse?, WorkflowFunctionResponse?)”public static bool operator !=(WorkflowFunctionResponse? left, WorkflowFunctionResponse? right)Parameters
Section titled “Parameters”left WorkflowFunctionResponse?
right WorkflowFunctionResponse?