Task_Priority.Compare Method

public int Task_Priority.Compare(Task x, Task y)
Namespace: yaTDL.Comparer


Compares two Task-objects based on their priority.

Return value:

greater than zero The priority ofx is greater than the priority of y
zero x has the same priority as y
less than zero The priority of x is less than the priority of y


ArgumentException The tasks couldn't be compared

Last edited Aug 16, 2009 at 5:49 PM by apoll0, version 2


No comments yet.