Share via


ODataQueryOptionsParserFactory.GetQueryOptionsParser Method

Definition

Overloads

GetQueryOptionsParser(HttpRequest)
GetQueryOptionsParser(HttpRequestMessage)

Gets the parser capable of parsing the query options in the request body.

GetQueryOptionsParser(HttpRequest)

public static Microsoft.AspNet.OData.Query.IODataQueryOptionsParser GetQueryOptionsParser (Microsoft.AspNetCore.Http.HttpRequest request);
static member GetQueryOptionsParser : Microsoft.AspNetCore.Http.HttpRequest -> Microsoft.AspNet.OData.Query.IODataQueryOptionsParser
Public Shared Function GetQueryOptionsParser (request As HttpRequest) As IODataQueryOptionsParser

Parameters

request
HttpRequest

Returns

Applies to

GetQueryOptionsParser(HttpRequestMessage)

Gets the parser capable of parsing the query options in the request body.

public static Microsoft.AspNet.OData.Query.IODataQueryOptionsParser GetQueryOptionsParser (System.Net.Http.HttpRequestMessage request);
static member GetQueryOptionsParser : System.Net.Http.HttpRequestMessage -> Microsoft.AspNet.OData.Query.IODataQueryOptionsParser
Public Shared Function GetQueryOptionsParser (request As HttpRequestMessage) As IODataQueryOptionsParser

Parameters

request
HttpRequestMessage

The request.

Returns

A parser capable of parsing the query options in the request body. An ODataException is thrown if no capable parser is found.

Applies to