Definition
Assembly: Microsoft.OData.Mcp.Core.dll Namespace: Microsoft.OData.Mcp.Core.Routing Inheritance: System.ObjectSyntax
Summary
Resolves OData route options to determine route patterns.Constructors
.ctor
Initializes a new instance of the ODataRouteOptionsResolver class.Syntax
.ctor Inherited
Inherited from
objectSyntax
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
FormatQueryOption
Formats a system query option based on dollar prefix settings.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
option | string | The option name without prefix (e.g., “filter”, “select”). |
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
objectSyntax
Returns
Type:int
GetMetadataPath
Gets the metadata endpoint path based on OData options.Syntax
Returns
Type:string
The metadata path.
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?
UsesDollarPrefix
Determines whether dollar sign prefixes are enabled for OData routes.Syntax
Returns
Type:bool
True if dollar prefixes are enabled; otherwise, false.