Definition
Assembly: Microsoft.Restier.Core.dll Namespace: Microsoft.Restier.Core Inheritance: System.ObjectSyntax
Summary
A fluent configuration helper that maps ApiBase instances to ASP.NET OData routes.Constructors
.ctor
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
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MapApiRoute
Maps the specified Restier API to an ASP.NET OData Route.Syntax
Parameters
| Name | Type | Description |
|---|---|---|
routeName | string | The name of the Route. Used to map the Route to a specific OData per-route container. Defaults to ‘RestierDefault’. |
routePrefix | string | A string |
allowBatching | bool | A boolean specifying if the RestierBatchHandler will be mapped to the ‘$batch’ route. |
Returns
Type:Microsoft.Restier.Core.RestierRouteBuilder
The RestierRouteBuilder instance to allow for fluent method chaining.
Type Parameters
TApi-
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?