Exemple #1
0
 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);
     }
 }
Exemple #2
0
            public override bool Equals(object x)
            {
                RemindUOW remindUOW = x as RemindUOW;

                return((remindUOW != null) && _task.Id == remindUOW._task.Id);
            }