/// <summary> /// Return the HashCode of this object. /// </summary> /// <returns>The HashCode of this object.</returns> public override Int32 GetHashCode() { unchecked { return(EVSEStatusRecords.GetHashCode() * 17 ^ OperatorId.GetHashCode() * 11 ^ (OperatorName != null ? OperatorName.GetHashCode() * 5 : 0) ^ Action.GetHashCode()); } }
/// <inheritdoc /> public override int GetHashCode() { unchecked { var hash = 19; if (OperatorName != null) { hash = hash * 397 + OperatorName.GetHashCode(); } if (Arguments != null) { hash = Arguments.Aggregate(hash, (current, value) => current * 31 + value.GetHashCode()); } return(hash); } }