Пример #1
0
 /// <summary>
 /// Compares 2 instances of TaskQueue.
 /// </summary>
 public static int CompareBySerializedTaskType(TaskQueue taskQueue1, TaskQueue taskQueue2)
 {
     return(taskQueue1.SerializedTaskType.CompareTo(taskQueue2.SerializedTaskType));
 }
Пример #2
0
 /// <summary>
 /// Compares 2 instances of TaskQueue.
 /// </summary>
 public static int CompareByStatus(TaskQueue taskQueue1, TaskQueue taskQueue2)
 {
     return(taskQueue1.Status.CompareTo(taskQueue2.Status));
 }
Пример #3
0
 /// <summary>
 /// Compares 2 instances of TaskQueue.
 /// </summary>
 public static int CompareBySerializedTaskObject(TaskQueue taskQueue1, TaskQueue taskQueue2)
 {
     return(taskQueue1.SerializedTaskObject.CompareTo(taskQueue2.SerializedTaskObject));
 }
Пример #4
0
 /// <summary>
 /// Compares 2 instances of TaskQueue.
 /// </summary>
 public static int CompareByLastStatusUpdateUTC(TaskQueue taskQueue1, TaskQueue taskQueue2)
 {
     return(taskQueue1.LastStatusUpdateUTC.CompareTo(taskQueue2.LastStatusUpdateUTC));
 }
Пример #5
0
 /// <summary>
 /// Compares 2 instances of TaskQueue.
 /// </summary>
 public static int CompareByCompleteUTC(TaskQueue taskQueue1, TaskQueue taskQueue2)
 {
     return(taskQueue1.CompleteUTC.CompareTo(taskQueue2.CompleteUTC));
 }
Пример #6
0
 /// <summary>
 /// Compares 2 instances of TaskQueue.
 /// </summary>
 public static int CompareByStartUTC(TaskQueue taskQueue1, TaskQueue taskQueue2)
 {
     return(taskQueue1.StartUTC.CompareTo(taskQueue2.StartUTC));
 }
Пример #7
0
 /// <summary>
 /// Compares 2 instances of TaskQueue.
 /// </summary>
 public static int CompareByQueuedUTC(TaskQueue taskQueue1, TaskQueue taskQueue2)
 {
     return(taskQueue1.QueuedUTC.CompareTo(taskQueue2.QueuedUTC));
 }
Пример #8
0
 /// <summary>
 /// Compares 2 instances of TaskQueue.
 /// </summary>
 public static int CompareByTaskName(TaskQueue taskQueue1, TaskQueue taskQueue2)
 {
     return(taskQueue1.TaskName.CompareTo(taskQueue2.TaskName));
 }