.NET API
ToolApprovalPresentation
Tracon.Abstractions.dllA human-readable projection of one tool-approval request, produced by a consumer’s IToolApprovalPresenter.
public sealed record ToolApprovalPresentation : IEquatable<ToolApprovalPresentation>Inheritance
Section titled “Inheritance”object ← ToolApprovalPresentation
Implements
Section titled “Implements”IEquatable<ToolApprovalPresentation>
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”Every field is optional: a presenter may resolve only part of what it knows (for example the entity’s name but not its type), and an unresolved field is left null rather than filled with a placeholder. The raw tool call arguments this presentation was built from are never replaced by it — see PendingApproval.Arguments, which stays populated alongside this record.
Constructors
Section titled “Constructors”ToolApprovalPresentation()
Section titled “ ToolApprovalPresentation()”public ToolApprovalPresentation()Properties
Section titled “Properties”EntityId
Section titled “ EntityId”Gets the entity’s own identifier, as read from the call’s arguments.
public string? EntityId { get; init; }Property Value
Section titled “Property Value”EntityName
Section titled “ EntityName”Gets the entity’s human-readable name, resolved from EntityId.
public string? EntityName { get; init; }Property Value
Section titled “Property Value”EntityType
Section titled “ EntityType”Gets the kind of entity the call acts on (for example "skill" or "order").
public string? EntityType { get; init; }Property Value
Section titled “Property Value”Message
Section titled “ Message”Gets a free-form sentence describing the call, for a reviewer who has none of the above.
public string? Message { 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(ToolApprovalPresentation?)
Section titled “ Equals(ToolApprovalPresentation?)”public bool Equals(ToolApprovalPresentation? other)Parameters
Section titled “Parameters”other ToolApprovalPresentation?
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 ==(ToolApprovalPresentation?, ToolApprovalPresentation?)
Section titled “ operator ==(ToolApprovalPresentation?, ToolApprovalPresentation?)”public static bool operator ==(ToolApprovalPresentation? left, ToolApprovalPresentation? right)Parameters
Section titled “Parameters”left ToolApprovalPresentation?
right ToolApprovalPresentation?
Returns
Section titled “Returns”operator !=(ToolApprovalPresentation?, ToolApprovalPresentation?)
Section titled “ operator !=(ToolApprovalPresentation?, ToolApprovalPresentation?)”public static bool operator !=(ToolApprovalPresentation? left, ToolApprovalPresentation? right)Parameters
Section titled “Parameters”left ToolApprovalPresentation?
right ToolApprovalPresentation?