SessionBranchResult
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe result of branching.
public sealed record SessionBranchResult : IEquatable<SessionBranchResult>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<SessionBranchResult>
Inherited Members
Section titled “Inherited Members”object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
Section titled “Constructors”SessionBranchResult()
Section titled “ SessionBranchResult()”public SessionBranchResult()Properties
Section titled “Properties”BranchFromSequence
Section titled “ BranchFromSequence”The branch point: the sequence number of the last item copied to the
new conversation. -1 if no item was copied.
public required long BranchFromSequence { get; init; }Property Value
Section titled “Property Value”ConversationId
Section titled “ ConversationId”The new conversation’s identifier.
public required Guid ConversationId { get; init; }Property Value
Section titled “Property Value”CopiedItemCount
Section titled “ CopiedItemCount”The number of items copied.
public required int CopiedItemCount { get; init; }Property Value
Section titled “Property Value”ParentConversationId
Section titled “ ParentConversationId”The source conversation’s identifier.
public required Guid ParentConversationId { get; init; }Property Value
Section titled “Property Value”ParentSessionId
Section titled “ ParentSessionId”The source session’s identifier.
public required string ParentSessionId { get; init; }Property Value
Section titled “Property Value”SessionId
Section titled “ SessionId”The new session’s identifier.
public required string SessionId { 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(SessionBranchResult?)
Section titled “ Equals(SessionBranchResult?)”public bool Equals(SessionBranchResult? other)Parameters
Section titled “Parameters”other SessionBranchResult?
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 ==(SessionBranchResult?, SessionBranchResult?)
Section titled “ operator ==(SessionBranchResult?, SessionBranchResult?)”public static bool operator ==(SessionBranchResult? left, SessionBranchResult? right)Parameters
Section titled “Parameters”left SessionBranchResult?
right SessionBranchResult?
Returns
Section titled “Returns”operator !=(SessionBranchResult?, SessionBranchResult?)
Section titled “ operator !=(SessionBranchResult?, SessionBranchResult?)”public static bool operator !=(SessionBranchResult? left, SessionBranchResult? right)Parameters
Section titled “Parameters”left SessionBranchResult?
right SessionBranchResult?