public override int GetHashCode() { unchecked { int hashCode = FailedAt.GetHashCode(); hashCode = (hashCode * 397) ^ ExceptionMessage.GetHashCode(); hashCode = (hashCode * 397) ^ StackTrace.GetHashCode(); hashCode = (hashCode * 397) ^ (InnerException != null ? InnerException.GetHashCode() : 0); return hashCode; } }
public override int GetHashCode() { unchecked { var hashCode = Id; hashCode = (hashCode * 397) ^ Priority; hashCode = (hashCode * 397) ^ Attempts; hashCode = (hashCode * 397) ^ (LastError != null ? LastError.GetHashCode() : 0); hashCode = (hashCode * 397) ^ RunAt.GetHashCode(); hashCode = (hashCode * 397) ^ SucceededAt.GetHashCode(); hashCode = (hashCode * 397) ^ FailedAt.GetHashCode(); hashCode = (hashCode * 397) ^ LockedAt.GetHashCode(); hashCode = (hashCode * 397) ^ (LockedBy != null ? LockedBy.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CreatedAt.GetHashCode(); hashCode = (hashCode * 397) ^ UpdatedAt.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hashCode = 1108362053; if (Recipient != null) { hashCode += Recipient.GetHashCode(); } if (Carrier != null) { hashCode += Carrier.GetHashCode(); } if (ShippingNote != null) { hashCode += ShippingNote.GetHashCode(); } if (ShippingType != null) { hashCode += ShippingType.GetHashCode(); } if (TrackingNumber != null) { hashCode += TrackingNumber.GetHashCode(); } if (TrackingUrl != null) { hashCode += TrackingUrl.GetHashCode(); } if (PlacedAt != null) { hashCode += PlacedAt.GetHashCode(); } if (InProgressAt != null) { hashCode += InProgressAt.GetHashCode(); } if (PackagedAt != null) { hashCode += PackagedAt.GetHashCode(); } if (ExpectedShippedAt != null) { hashCode += ExpectedShippedAt.GetHashCode(); } if (ShippedAt != null) { hashCode += ShippedAt.GetHashCode(); } if (CanceledAt != null) { hashCode += CanceledAt.GetHashCode(); } if (CancelReason != null) { hashCode += CancelReason.GetHashCode(); } if (FailedAt != null) { hashCode += FailedAt.GetHashCode(); } if (FailureReason != null) { hashCode += FailureReason.GetHashCode(); } return(hashCode); }