Пример #1
0
 public bool Equals(Completed other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(TaskId.Equals(other.TaskId) && TriggerDateUtc.Equals(other.TriggerDateUtc));
 }
Пример #2
0
 public bool Equals(Entry other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(TaskId.Equals(other.TaskId) &&
            Equals(Recipient, other.Recipient) &&
            Equals(Message, other.Message) &&
            TriggerDateUtc.Equals(other.TriggerDateUtc) &&
            RepeatInterval.Equals(other.RepeatInterval));
 }
Пример #3
0
 protected bool Equals(TaskReopened other)
 {
     return(TaskId.Equals(other.TaskId));
 }