McpPromptListResult
Namespace AgentPrism · Assembly
AgentPrism.Abstractions.dllThe result of listing prompts.
public sealed record McpPromptListResult : IEquatable<McpPromptListResult>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”IEquatable<McpPromptListResult>
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”McpPromptListResult()
Section titled “ McpPromptListResult()”public McpPromptListResult()Properties
Section titled “Properties”Prompts
Section titled “ Prompts”The prompt list. Empty when McpPromptListResult.Status is not McpOperationStatus.Ok.
public IReadOnlyList<McpPromptSummary> Prompts { get; init; }Property Value
Section titled “Property Value”IReadOnlyList<McpPromptSummary>
Status
Section titled “ Status”The result status.
public required McpOperationStatus Status { 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(McpPromptListResult?)
Section titled “ Equals(McpPromptListResult?)”public bool Equals(McpPromptListResult? other)Parameters
Section titled “Parameters”other McpPromptListResult?
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 ==(McpPromptListResult?, McpPromptListResult?)
Section titled “ operator ==(McpPromptListResult?, McpPromptListResult?)”public static bool operator ==(McpPromptListResult? left, McpPromptListResult? right)Parameters
Section titled “Parameters”left McpPromptListResult?
right McpPromptListResult?
Returns
Section titled “Returns”operator !=(McpPromptListResult?, McpPromptListResult?)
Section titled “ operator !=(McpPromptListResult?, McpPromptListResult?)”public static bool operator !=(McpPromptListResult? left, McpPromptListResult? right)Parameters
Section titled “Parameters”left McpPromptListResult?
right McpPromptListResult?