/// <summary> /// Compares 2 instances of TaskQueue. /// </summary> public static int CompareBySerializedTaskType(TaskQueue taskQueue1, TaskQueue taskQueue2) { return(taskQueue1.SerializedTaskType.CompareTo(taskQueue2.SerializedTaskType)); }
/// <summary> /// Compares 2 instances of TaskQueue. /// </summary> public static int CompareByStatus(TaskQueue taskQueue1, TaskQueue taskQueue2) { return(taskQueue1.Status.CompareTo(taskQueue2.Status)); }
/// <summary> /// Compares 2 instances of TaskQueue. /// </summary> public static int CompareBySerializedTaskObject(TaskQueue taskQueue1, TaskQueue taskQueue2) { return(taskQueue1.SerializedTaskObject.CompareTo(taskQueue2.SerializedTaskObject)); }
/// <summary> /// Compares 2 instances of TaskQueue. /// </summary> public static int CompareByLastStatusUpdateUTC(TaskQueue taskQueue1, TaskQueue taskQueue2) { return(taskQueue1.LastStatusUpdateUTC.CompareTo(taskQueue2.LastStatusUpdateUTC)); }
/// <summary> /// Compares 2 instances of TaskQueue. /// </summary> public static int CompareByCompleteUTC(TaskQueue taskQueue1, TaskQueue taskQueue2) { return(taskQueue1.CompleteUTC.CompareTo(taskQueue2.CompleteUTC)); }
/// <summary> /// Compares 2 instances of TaskQueue. /// </summary> public static int CompareByStartUTC(TaskQueue taskQueue1, TaskQueue taskQueue2) { return(taskQueue1.StartUTC.CompareTo(taskQueue2.StartUTC)); }
/// <summary> /// Compares 2 instances of TaskQueue. /// </summary> public static int CompareByQueuedUTC(TaskQueue taskQueue1, TaskQueue taskQueue2) { return(taskQueue1.QueuedUTC.CompareTo(taskQueue2.QueuedUTC)); }
/// <summary> /// Compares 2 instances of TaskQueue. /// </summary> public static int CompareByTaskName(TaskQueue taskQueue1, TaskQueue taskQueue2) { return(taskQueue1.TaskName.CompareTo(taskQueue2.TaskName)); }