Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Routing Inheritance: System.ObjectSyntax
Summary
Represents an MCP route entry with its associated OData information.Constructors
.ctor
Syntax
.ctor Inherited
Inherited from
objectSyntax
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
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
obj | object? | - |
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
| Name | Type | Description |
|---|---|---|
objA | object? | - |
objB | object? | - |
Returns
Type:bool
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?