/// <summary> /// Return the HashCode of this object. /// </summary> /// <returns>The HashCode of this object.</returns> public override Int32 GetHashCode() { unchecked { return((TransactionId.HasValue ? TransactionId.GetHashCode() * 31 : 0) ^ PartnerId.GetHashCode() * 29 ^ OperatorId.GetHashCode() * 23 ^ EVSEId.GetHashCode() * 21 ^ (AvailabilityStatusEventDate.HasValue ? AvailabilityStatusEventDate.GetHashCode() * 19 : 0) ^ (AvailabilityStatus.HasValue ? AvailabilityStatus.GetHashCode() * 17 : 0) ^ (AvailabilityStatusUntil.HasValue ? AvailabilityStatusUntil.GetHashCode() * 13 : 0) ^ (AvailabilityStatusComment.IsNeitherNullNorEmpty() ? AvailabilityStatusComment.GetHashCode() * 11 : 0) ^ (BusyStatusEventDate.HasValue ? BusyStatusEventDate.GetHashCode() * 7 : 0) ^ (BusyStatus.HasValue ? BusyStatus.GetHashCode() * 3 : 0) ^ (BusyStatusUntil.HasValue ? BusyStatusUntil.GetHashCode() * 3 : 0) ^ (BusyStatusComment.IsNeitherNullNorEmpty() ? BusyStatusComment.GetHashCode() : 0)); } }
/// <summary> /// Return the HashCode of this object. /// </summary> /// <returns>The HashCode of this object.</returns> public override Int32 GetHashCode() { unchecked { return(EVSEId.GetHashCode() * 11 ^ StatusEventDate.GetHashCode() * 7 ^ BusyStatus.GetHashCode() * 5 ^ (BusyStatusUntil.HasValue ? BusyStatusUntil.GetHashCode() * 3 : 0) ^ (BusyStatusComment.IsNeitherNullNorEmpty() ? BusyStatusComment.GetHashCode() : 0)); } }
/// <summary> /// Return the HashCode of this object. /// </summary> /// <returns>The HashCode of this object.</returns> public override Int32 GetHashCode() { unchecked { return((TransactionId.HasValue ? TransactionId.GetHashCode() * 23 : 0) ^ PartnerId.GetHashCode() * 21 ^ OperatorId.GetHashCode() * 17 ^ EVSEId.GetHashCode() * 13 ^ StatusEventDate.GetHashCode() * 11 ^ BusyStatus.GetHashCode() * 7 ^ (BusyStatusUntil.HasValue ? BusyStatusUntil.GetHashCode() * 5 : 0) ^ (BusyStatusComment.IsNeitherNullNorEmpty() ? BusyStatusComment.GetHashCode() * 3 : 0)); } }