Skip to main content

Definition

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

Syntax

Summary

Resolves OData route options to determine route patterns.

Constructors

.ctor

Initializes a new instance of the ODataRouteOptionsResolver class.

Syntax

.ctor Inherited

Inherited from object

Syntax

Methods

Equals Inherited Virtual

Inherited from object

Syntax

Parameters

Returns

Type: bool

Equals Inherited

Inherited from object

Syntax

Parameters

Returns

Type: bool

FormatQueryOption

Formats a system query option based on dollar prefix settings.

Syntax

Parameters

Returns

Type: string The formatted option name.

GetBatchPath

Gets the batch endpoint path based on OData options.

Syntax

Returns

Type: string The batch path.

GetHashCode Inherited Virtual

Inherited from object

Syntax

Returns

Type: int

GetMetadataPath

Gets the metadata endpoint path based on OData options.

Syntax

Returns

Type: string The metadata path.

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?

UsesDollarPrefix

Determines whether dollar sign prefixes are enabled for OData routes.

Syntax

Returns

Type: bool True if dollar prefixes are enabled; otherwise, false.