Skip to content
DocsTry Aspire
DocsTry

McpServerMetadata Methods

RecordMethods8 members
Represents metadata for an MCP server used by the MCP Inspector.
public record McpServerMetadata
{
public virtual McpServerMetadata <Clone>$()
{
// ...
}
}
Deconstruct(string, EndpointReference, McpTransportType, string)Section titled Deconstruct(string, EndpointReference, McpTransportType, string)
public record McpServerMetadata
{
public void Deconstruct(
out string Name,
out EndpointReference Endpoint,
out McpTransportType TransportType,
out string Path)
{
// ...
}
}
Namestring
EndpointEndpointReference
TransportTypeMcpTransportType
Pathstring
Equals(object?)Section titled Equals(object?)overridebool
Determines whether the specified object is equal to the current object.
public record McpServerMetadata
{
public override bool Equals(
object? obj)
{
// ...
}
}
objobject?The object to compare with the current object.
booltrue if the specified object is equal to the current object; otherwise, false.
Equals(McpServerMetadata?)Section titled Equals(McpServerMetadata?)virtualbool
Indicates whether the current object is equal to another object of the same type.
public record McpServerMetadata
{
public virtual bool Equals(
McpServerMetadata? other)
{
// ...
}
}
otherMcpServerMetadata?An object to compare with this object.
booltrue if the current object is equal to the other parameter; otherwise, false.
GetHashCodeSection titled GetHashCodeoverrideint
Serves as the default hash function.
public record McpServerMetadata
{
public override int GetHashCode()
{
// ...
}
}
intA hash code for the current object.
op_Equality(McpServerMetadata?, McpServerMetadata?)Section titled op_Equality(McpServerMetadata?, McpServerMetadata?)staticbool
public record McpServerMetadata
{
public static bool operator ==(
McpServerMetadata? left,
McpServerMetadata? right)
{
// ...
}
}
op_Inequality(McpServerMetadata?, McpServerMetadata?)Section titled op_Inequality(McpServerMetadata?, McpServerMetadata?)staticbool
public record McpServerMetadata
{
public static bool operator !=(
McpServerMetadata? left,
McpServerMetadata? right)
{
// ...
}
}
ToStringSection titled ToStringoverridestring
Returns a string that represents the current object.
public record McpServerMetadata
{
public override string ToString()
{
// ...
}
}
stringA string that represents the current object.