/// <summary> /// Get the hashcode of this object. /// </summary> public override Int32 GetHashCode() { unchecked { return(EVCOId.GetHashCode() * 7 ^ PIN.GetHashCode() * 5 ^ Function.GetHashCode() * 3 ^ Salt.GetHashCode()); } }
/// <summary> /// Get the hashcode of this object. /// </summary> public override Int32 GetHashCode() { unchecked { return(EVCOId.GetHashCode() * 11 ^ RFIDType.GetHashCode() * 7 ^ (EVCOId.HasValue ? EVCOId.GetHashCode() * 5 : 0) ^ (PrintedNumber != null ? PrintedNumber.GetHashCode() * 3 : 0) ^ (EVCOId.HasValue ? EVCOId.GetHashCode() : 0)); } }