/// <summary> /// Returns a hash code for this instance. /// </summary> /// <returns> /// A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table. /// </returns> public override int GetHashCode() { unchecked { int result = (IdentificationService != null ? IdentificationService.GetHashCode() : 0); result = (result * 397) ^ (BodyType != null ? BodyType.GetHashCode() : 0); result = (result * 397) ^ CreatedAt.GetHashCode(); result = (result * 397) ^ EncodingCodePage; result = (result * 397) ^ ReinjectionNumber; result = (result * 397) ^ Priority; result = (result * 397) ^ Type.GetHashCode(); return(result); } }