[]
This class is a task comparer for sorting.
public class TaskComparer : IComparer<Task>
Name | Description |
---|---|
TaskComparer() | Initializes a new instance of TaskComparer class. |
TaskComparer(PropertyDescriptor, ListSortDirection) | Initializes a new instance of TaskComparer class with property comparer info. |
Name | Description |
---|---|
Properties | Gets the collection of PropertyComparerInfo object. |
Name | Description |
---|---|
AddPropertyComparerInfo(PropertyDescriptor, ListSortDirection) | Add a new instance of PropertyComparerInfo class. |
Compare(Task, Task) | Compares two tasks and returns a value indicating whether one is less than, equal to, or greater than the other. |