RunEventDraft
Namespace AgentPrism · Assembly
AgentPrism.Core.dllRepresents the information an event carries before its sequence number and timestamp are assigned.
public readonly struct RunEventDraft : IEquatable<RunEventDraft>Implements
Section titled “Implements”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”RunEventDraft(RunEventType)
Section titled “ RunEventDraft(RunEventType)”Represents the information an event carries before its sequence number and timestamp are assigned.
public RunEventDraft(RunEventType Type)Parameters
Section titled “Parameters”Type RunEventType
The event type.
Properties
Section titled “Properties”Payload
Section titled “ Payload”Gets the free-form JSON payload.
public string? Payload { get; init; }Property Value
Section titled “Property Value”Gets the text content.
public string? Text { get; init; }Property Value
Section titled “Property Value”ToolCallId
Section titled “ ToolCallId”Gets the tool call identity.
public string? ToolCallId { get; init; }Property Value
Section titled “Property Value”ToolName
Section titled “ ToolName”Gets the tool name.
public string? ToolName { get; init; }Property Value
Section titled “Property Value”The event type.
public RunEventType Type { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Deconstruct(out RunEventType)
Section titled “ Deconstruct(out RunEventType)”public void Deconstruct(out RunEventType Type)Parameters
Section titled “Parameters”Type RunEventType
Equals(object)
Section titled “ Equals(object)”public override bool Equals(object obj)Parameters
Section titled “Parameters”obj object
Returns
Section titled “Returns”Equals(RunEventDraft)
Section titled “ Equals(RunEventDraft)”public bool Equals(RunEventDraft other)Parameters
Section titled “Parameters”other RunEventDraft
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 ==(RunEventDraft, RunEventDraft)
Section titled “ operator ==(RunEventDraft, RunEventDraft)”public static bool operator ==(RunEventDraft left, RunEventDraft right)Parameters
Section titled “Parameters”left RunEventDraft
right RunEventDraft
Returns
Section titled “Returns”operator !=(RunEventDraft, RunEventDraft)
Section titled “ operator !=(RunEventDraft, RunEventDraft)”public static bool operator !=(RunEventDraft left, RunEventDraft right)Parameters
Section titled “Parameters”left RunEventDraft
right RunEventDraft