Skip to main content

Definition

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

Syntax

Summary

Represents an MCP route entry with its associated OData information.

Constructors

.ctor

Syntax

.ctor Inherited

Inherited from object

Syntax

Properties

CustomMcpPath

Gets the custom MCP path if one was specified.

Syntax

Property Value

Type: string?

IsExplicit

Gets a value indicating whether this route was explicitly registered.

Syntax

Property Value

Type: bool

McpBasePath

Gets the base path for MCP endpoints (e.g., “/api/v1/mcp”).

Syntax

Property Value

Type: string

Metadata

Gets additional metadata about this route.

Syntax

Property Value

Type: System.Collections.Generic.Dictionary<string, object>

ODataRoutePrefix

Gets the OData route prefix (e.g., “api/v1”, “odata”, or empty for root).

Syntax

Property Value

Type: string

RouteName

Gets the name of the OData route.

Syntax

Property Value

Type: string

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetType Inherited

Inherited from object

Syntax

Returns

Type: System.Type

MemberwiseClone Inherited

Inherited from object

Syntax

Returns

Type: object

ReferenceEquals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

ToString Inherited Virtual

Inherited from object

Syntax

Returns

Type: string?