blob: b69c5cb60adea2c2d3f905fe257bdb8fd44256ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
// Copyright (c) Microsoft Corporation. All rights reserved. See License.txt in the project root for license information.
using System.Collections.Generic;
namespace System.Web.Http.Query
{
/// <summary>
/// Represents an <see cref="System.Linq.IQueryable"/>.
/// </summary>
internal class ServiceQuery
{
/// <summary>
/// Gets or sets a list of query parts.
/// </summary>
public List<ServiceQueryPart> QueryParts { get; set; }
public static bool IsSupportedQueryOperator(string queryOperator)
{
return queryOperator == "filter" || queryOperator == "orderby" ||
queryOperator == "skip" || queryOperator == "top";
}
}
}
|