Skip to content

McpResourceListResult

Namespace AgentPrism · Assembly AgentPrism.Abstractions.dll

The result of listing resources.

public sealed record McpResourceListResult : IEquatable<McpResourceListResult>

objectMcpResourceListResult

IEquatable<McpResourceListResult>

object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

public McpResourceListResult()

The resource list. Empty when McpResourceListResult.Status is not McpOperationStatus.Ok.

public IReadOnlyList<McpResourceSummary> Resources { get; init; }

IReadOnlyList<McpResourceSummary>

The result status.

public required McpOperationStatus Status { get; init; }

McpOperationStatus

public override bool Equals(object? obj)

obj object?

bool

public bool Equals(McpResourceListResult? other)

other McpResourceListResult?

bool

public override int GetHashCode()

int

public override string ToString()

string

operator ==(McpResourceListResult?, McpResourceListResult?)

Section titled “ operator ==(McpResourceListResult?, McpResourceListResult?)”
public static bool operator ==(McpResourceListResult? left, McpResourceListResult? right)

left McpResourceListResult?

right McpResourceListResult?

bool

operator !=(McpResourceListResult?, McpResourceListResult?)

Section titled “ operator !=(McpResourceListResult?, McpResourceListResult?)”
public static bool operator !=(McpResourceListResult? left, McpResourceListResult? right)

left McpResourceListResult?

right McpResourceListResult?

bool