Class DataTransferSorter
Provides a default implementation of a Data
Inheritance
System.Object
DataTransferSorter
Implements
Namespace: Cuemon.Data
Assembly: Cuemon.Data.dll
Syntax
public sealed class DataTransferSorter : ISortableTable<DataTransferRow>
Constructors
| Improve this DocDataTransferSorter(String)
Initializes a new instance of the Data
Declaration
public DataTransferSorter(string orderByColumn)
Parameters
Type | Name | Description |
---|---|---|
System. |
orderByColumn | The column on which to perform a sorting operation. |
Properties
| Improve this DocOrderByColumn
Gets the column on which to perform a sorting operation.
Declaration
public string OrderByColumn { get; }
Property Value
Type | Description |
---|---|
System. |
The column on which to perform a sorting operation. |
Methods
| Improve this DocOrderBy(IEnumerable<DataTransferRow>, SortOrder)
Sorts the elements of source
using the order of direction
.
Declaration
public IEnumerable<DataTransferRow> OrderBy(IEnumerable<DataTransferRow> source, SortOrder direction)
Parameters
Type | Name | Description |
---|---|---|
System. |
source | A sequence of values to order by |
Sort |
direction | The Sort |
Returns
Type | Description |
---|---|
System. |
An System.Collections.Generic.IEnumerable<T> whose elements are sorted according to Order |