Skip to main content

Definition

Assembly: Microsoft.OData.Mcp.AspNetCore.dll Namespace: Microsoft.OData.Mcp.AspNetCore.Routing Inheritance: System.Object

Syntax

Microsoft.OData.Mcp.AspNetCore.Routing.McpEndpointMetadata

Summary

Metadata for MCP endpoints.

Constructors

.ctor

Syntax

public McpEndpointMetadata()

.ctor Inherited

Inherited from object

Syntax

public Object()

Properties

Command

Gets or sets the MCP command type.

Syntax

public Microsoft.OData.Mcp.Core.Routing.McpCommand Command { get; set; }

Property Value

Type: Microsoft.OData.Mcp.Core.Routing.McpCommand?

RouteName

Gets or sets the OData route name.

Syntax

public string RouteName { get; set; }

Property Value

Type: string?

Methods

Equals Inherited Virtual

Inherited from object

Syntax

public virtual bool Equals(object obj)

Parameters

NameTypeDescription
objobject?-

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

public static bool Equals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

public virtual int GetHashCode()

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

public System.Type GetType()

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

protected internal object MemberwiseClone()

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

public static bool ReferenceEquals(object objA, object objB)

Parameters

NameTypeDescription
objAobject?-
objBobject?-

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

public virtual string ToString()

Returns

Type: string?