Пример #1
0
 public bool Equals(ScheduledJob other)
 {
     if (ReferenceEquals(null, other))
     {
         return(false);
     }
     if (ReferenceEquals(this, other))
     {
         return(true);
     }
     return(Id == other.Id && Priority == other.Priority && Attempts == other.Attempts &&
            string.Equals(LastError, other.LastError) &&
            RunAt.Equals(other.RunAt) && SucceededAt.Equals(other.SucceededAt) && FailedAt.Equals(other.FailedAt) &&
            LockedAt.Equals(other.LockedAt) && string.Equals(LockedBy, other.LockedBy) &&
            CreatedAt.Equals(other.CreatedAt) && UpdatedAt.Equals(other.UpdatedAt));
 }