Class OrderBy
AST Node representing an oder by.
e.g. in
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: TimeCockpit.Data.QueryLanguage.Syntax
Assembly: TimeCockpit.Data.dll
Syntax
public class OrderBy : Node
Constructors
OrderBy(IEnumerable<OrderByExpression>)
Initializes a new instance of the OrderBy class.
Declaration
public OrderBy(IEnumerable<OrderByExpression> expressions)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.IEnumerable<OrderByExpression> | expressions | the expressions by which to order. |
Properties
Expressions
Gets the expressions by which the OrderBy is ordered.
Declaration
public ReadOnlyCollection<OrderByExpression> Expressions { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<OrderByExpression> |
Methods
Accept(Visitor)
Dispatches to the correct VisitOrderBy(OrderBy) function.
Declaration
public override Node Accept(Visitor visitor)
Parameters
Type | Name | Description |
---|---|---|
Visitor | visitor | the visitor to accept. |
Returns
Type | Description |
---|---|
Node | Returns the value returned by VisitQuery(Query) |