private static void RemindAboutTask(IResource task) { if (task.GetDateProp(_propRemindDate) != DateTime.MinValue) { AbstractJob uow = new RemindUOW(task); Core.ResourceAP.CancelTimedJobs(uow); Core.ResourceAP.QueueJobAt(task.GetDateProp(_propRemindDate), uow); } }
public override bool Equals(object x) { RemindUOW remindUOW = x as RemindUOW; return((remindUOW != null) && _task.Id == remindUOW._task.Id); }