Interface IOrderer<TOrder>
Orderer interface.
Namespace: Acoustics.Shared
Assembly: Acoustics.Shared.dll
Syntax
public interface IOrderer<TOrder>
Type Parameters
Name | Description |
---|---|
TOrder | Type to order. |
Remarks
see: http://stackoverflow.com/questions/7737355/store-multi-type-orderby-expression-as-a-property/7742446#7742446 for more info.
Methods
| Improve this Doc View SourceApplyOrderBy(IQueryable<TOrder>)
Apply order by to IQueryable.
Declaration
IOrderedQueryable<TOrder> ApplyOrderBy(IQueryable<TOrder> source)
Parameters
Type | Name | Description |
---|---|---|
IQueryable<TOrder> | source | The source. |
Returns
Type | Description |
---|---|
IOrdered |
Ordered Queryable. |
ApplyThenBy(IOrderedQueryable<TOrder>)
Apply order then by to IQueryable.
Declaration
IOrderedQueryable<TOrder> ApplyThenBy(IOrderedQueryable<TOrder> source)
Parameters
Type | Name | Description |
---|---|---|
IOrdered |
source | The source. |
Returns
Type | Description |
---|---|
IOrdered |
Ordered Queryable. |