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) { // ... }}Parameters
Determines whether the specified object is equal to the current object.
public record McpServerMetadata{ public override bool Equals( object? obj) { // ... }}Parameters
objobject?The object to compare with the current object.Returns
booltrue if the specified object is equal to the current object; otherwise, false.Indicates whether the current object is equal to another object of the same type.
public record McpServerMetadata{ public virtual bool Equals( McpServerMetadata? other) { // ... }}Parameters
otherMcpServerMetadata?An object to compare with this object.Returns
booltrue if the current object is equal to the other parameter; otherwise, false.Serves as the default hash function.
public record McpServerMetadata{ public override int GetHashCode() { // ... }}Returns
intA hash code for the current object.op_Equality(McpServerMetadata?, McpServerMetadata?)Section titled op_Equality(McpServerMetadata?, McpServerMetadata?)staticboolpublic record McpServerMetadata{ public static bool operator ==( McpServerMetadata? left, McpServerMetadata? right) { // ... }}Parameters
rightMcpServerMetadata?op_Inequality(McpServerMetadata?, McpServerMetadata?)Section titled op_Inequality(McpServerMetadata?, McpServerMetadata?)staticboolpublic record McpServerMetadata{ public static bool operator !=( McpServerMetadata? left, McpServerMetadata? right) { // ... }}Parameters
rightMcpServerMetadata?Returns a string that represents the current object.
public record McpServerMetadata{ public override string ToString() { // ... }}Returns
stringA string that represents the current object.