Order criterion for TEntity.
Inheritance Hierarchy
Assembly: Epic.Query.Object
Declaration Syntax
C# |
[SerializableAttribute] public abstract class OrderCriterion<TEntity> : VisitableBase, IComparer<TEntity>, IEquatable<OrderCriterion<TEntity>>, ISerializable where TEntity : class
Generic Template Parameters
- TEntity
- Type of the entity of interest.
Remarks
The order criteria are used to sort search results. They are basically visitable comparers that can be either interpreted or evaluated.
This class describe the public API of all order criteria, but can not be derived directly: you must derive OrderCriterionBase<(Of <(<'TEntity, TOrderCriterion>)>)> that add some constraints.
Members
All Members | Methods | ||||
Member | Description | |
---|---|---|
Chain(OrderCriterion<(Of <<'(TEntity>)>>)) |
Returns a criterion that chain the other order criterion after this.
| |
Compare(TEntity, TEntity) |
Compare the specified x and y.
| |
Equals(OrderCriterion<(Of <<'(TEntity>)>>)) |
Determines whether the specified OrderCriterion<(Of <(<'TEntity>)>)> is equal to the
current OrderCriterion<(Of <(<'TEntity>)>)>.
| |
Equals(Object) |
Determines whether the specified Object is equal to the current
OrderCriterion<(Of <(<'TEntity>)>)>.
(Overrides Object.Equals(Object).) | |
EqualsA(OrderCriterion<(Of <<'(TEntity>)>>)) |
Determines whether the specified OrderCriterion<(Of <(<'TEntity>)>)> is equal to the
current OrderCriterion<(Of <(<'TEntity>)>)>, given that Equals(OrderCriterion<(Of <<'(TEntity>)>>))
grant that it is not nullNothingnullptr, this and that it has the same type of the current instance.
| |
For<(Of <<'(TSpecializedEntity>)>>)()()()() |
Returns the current order criterion wrapped to handle any TSpecializedEntity.
| |
GetHashCode()()()() |
Serves as a hash function for a OrderCriterion<(Of <(<'TEntity>)>)> object.
(Overrides Object.GetHashCode()()()().) | |
GetObjectData(SerializationInfo, StreamingContext) |
Gets the object data to be serialized.
| |
Reverse()()()() |
Reverse this criterion.
|