public override int GetHashCode() { unchecked { var hashCode = AlertID; hashCode = (hashCode * 397) ^ Code; hashCode = (hashCode * 397) ^ (Source != null ? Source.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Title != null ? Title.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Severity != null ? Severity.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Created.GetHashCode(); hashCode = (hashCode * 397) ^ SnoozedEndDate.GetHashCode(); hashCode = (hashCode * 397) ^ (ThresholdValue1 != null ? ThresholdValue1.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThresholdValue2 != null ? ThresholdValue2.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThresholdValue3 != null ? ThresholdValue3.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThresholdValue4 != null ? ThresholdValue4.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ThresholdValue5 != null ? ThresholdValue5.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DeviceGuid != null ? DeviceGuid.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AdditionalInfo != null ? AdditionalInfo.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (AlertCategoryID != null ? AlertCategoryID.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Archived.GetHashCode(); hashCode = (hashCode * 397) ^ ArchivedDate.GetHashCode(); hashCode = (hashCode * 397) ^ TicketID.GetHashCode(); hashCode = (hashCode * 397) ^ (AlertMessage != null ? AlertMessage.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (DeviceName != null ? DeviceName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ CustomerID; hashCode = (hashCode * 397) ^ (CustomerName != null ? CustomerName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (MessageTemplate != null ? MessageTemplate.GetHashCode() : 0); hashCode = (hashCode * 397) ^ FolderID.GetHashCode(); hashCode = (hashCode * 397) ^ PollingCyclesCount.GetHashCode(); return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (DiscountEligibilityType != null) { hashCode = hashCode * 59 + DiscountEligibilityType.GetHashCode(); } if (AdditionalValue != null) { hashCode = hashCode * 59 + AdditionalValue.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (AdditionalInfoUri != null) { hashCode = hashCode * 59 + AdditionalInfoUri.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (MinimumFeeRate != null) { hashCode = hashCode * 59 + MinimumFeeRate.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (ElegibilityCriteriaInfo != null) { hashCode = hashCode * 59 + ElegibilityCriteriaInfo.GetHashCode(); } if (ClosingProcessInfo != null) { hashCode = hashCode * 59 + ClosingProcessInfo.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (FeeType != null) { hashCode = hashCode * 59 + FeeType.GetHashCode(); } if (Amount != null) { hashCode = hashCode * 59 + Amount.GetHashCode(); } if (BalanceRate != null) { hashCode = hashCode * 59 + BalanceRate.GetHashCode(); } if (TransactionRate != null) { hashCode = hashCode * 59 + TransactionRate.GetHashCode(); } if (AccruedRate != null) { hashCode = hashCode * 59 + AccruedRate.GetHashCode(); } if (AccrualFrequency != null) { hashCode = hashCode * 59 + AccrualFrequency.GetHashCode(); } if (Currency != null) { hashCode = hashCode * 59 + Currency.GetHashCode(); } if (AdditionalValue != null) { hashCode = hashCode * 59 + AdditionalValue.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (AdditionalInfoUri != null) { hashCode = hashCode * 59 + AdditionalInfoUri.GetHashCode(); } if (Discounts != null) { hashCode = hashCode * 59 + Discounts.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { return (StreetName.GetHashCode() ^ Number.GetHashCode() ^ AdditionalInfo.GetHashCode() ^ Neighborhood.GetHashCode() ^ City.GetHashCode() ^ State.GetHashCode() ^ PostalCode.GetHashCode() ^ Country.GetHashCode()); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Address != null) { hashCode = hashCode * 59 + Address.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (DistrictName != null) { hashCode = hashCode * 59 + DistrictName.GetHashCode(); } if (TownName != null) { hashCode = hashCode * 59 + TownName.GetHashCode(); } if (IbgeCode != null) { hashCode = hashCode * 59 + IbgeCode.GetHashCode(); } if (CountrySubDivision != null) { hashCode = hashCode * 59 + CountrySubDivision.GetHashCode(); } if (PostCode != null) { hashCode = hashCode * 59 + PostCode.GetHashCode(); } if (Country != null) { hashCode = hashCode * 59 + Country.GetHashCode(); } if (CountryCode != null) { hashCode = hashCode * 59 + CountryCode.GetHashCode(); } if (GeographicCoordinates != null) { hashCode = hashCode * 59 + GeographicCoordinates.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Description != null) { hashCode = hashCode * 59 + Description.GetHashCode(); } if (DiscountType != null) { hashCode = hashCode * 59 + DiscountType.GetHashCode(); } if (Amount != null) { hashCode = hashCode * 59 + Amount.GetHashCode(); } if (BalanceRate != null) { hashCode = hashCode * 59 + BalanceRate.GetHashCode(); } if (TransactionRate != null) { hashCode = hashCode * 59 + TransactionRate.GetHashCode(); } if (AccruedRate != null) { hashCode = hashCode * 59 + AccruedRate.GetHashCode(); } if (AdditionalValue != null) { hashCode = hashCode * 59 + AdditionalValue.GetHashCode(); } if (Eligibility != null) { hashCode = hashCode * 59 + Eligibility.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (AdditionalInfoUri != null) { hashCode = hashCode * 59 + AdditionalInfoUri.GetHashCode(); } return(hashCode); } }
/// <summary>Serves as the default hash function. </summary> /// <returns>A hash code for the current object.</returns> public override int GetHashCode() { unchecked { var hashCode = IsValid.GetHashCode(); hashCode = (hashCode * 397) ^ (RelativeLocation?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AbsoluteLocation?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (InstanceLocation?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AnnotationValue?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Keyword?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (AdditionalInfo?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (NestedResults?.GetCollectionHashCode() ?? 0); return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (LendingRateType != null) { hashCode = hashCode * 59 + LendingRateType.GetHashCode(); } if (Rate != null) { hashCode = hashCode * 59 + Rate.GetHashCode(); } if (CalculationFrequency != null) { hashCode = hashCode * 59 + CalculationFrequency.GetHashCode(); } if (ApplicationFrequency != null) { hashCode = hashCode * 59 + ApplicationFrequency.GetHashCode(); } if (PaymentStructureType != null) { hashCode = hashCode * 59 + PaymentStructureType.GetHashCode(); } if (Tier != null) { hashCode = hashCode * 59 + Tier.GetHashCode(); } if (AdditionalValue != null) { hashCode = hashCode * 59 + AdditionalValue.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (AdditionalInfoUri != null) { hashCode = hashCode * 59 + AdditionalInfoUri.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Type != null) { hashCode = hashCode * 59 + Type.GetHashCode(); } if (Fees != null) { hashCode = hashCode * 59 + Fees.GetHashCode(); } if (ServiceBundles != null) { hashCode = hashCode * 59 + ServiceBundles.GetHashCode(); } if (OpeningClosingChannels != null) { hashCode = hashCode * 59 + OpeningClosingChannels.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (TransactionMethods != null) { hashCode = hashCode * 59 + TransactionMethods.GetHashCode(); } if (TermsConditions != null) { hashCode = hashCode * 59 + TermsConditions.GetHashCode(); } if (IncomeRate != null) { hashCode = hashCode * 59 + IncomeRate.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (City != null) { hashCode = hashCode * 59 + City.GetHashCode(); } if (CountryCode != null) { hashCode = hashCode * 59 + CountryCode.GetHashCode(); } if (HouseNumber != null) { hashCode = hashCode * 59 + HouseNumber.GetHashCode(); } if (State != null) { hashCode = hashCode * 59 + State.GetHashCode(); } if (StateCode != null) { hashCode = hashCode * 59 + StateCode.GetHashCode(); } if (Street != null) { hashCode = hashCode * 59 + Street.GetHashCode(); } if (Zip != null) { hashCode = hashCode * 59 + Zip.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { var hashCode = 41; // Suitable nullity checks etc, of course :) if (Type != null) { hashCode = hashCode * 59 + Type.GetHashCode(); } if (AdditionalInfo != null) { hashCode = hashCode * 59 + AdditionalInfo.GetHashCode(); } if (Urls != null) { hashCode = hashCode * 59 + Urls.GetHashCode(); } return(hashCode); } }