public override int GetHashCode() { unchecked { return((Linkid * 397) ^ IsActive.GetHashCode()); } }
public override int GetHashCode() { int hash = 1; if (FirstName.Length != 0) { hash ^= FirstName.GetHashCode(); } if (LastName.Length != 0) { hash ^= LastName.GetHashCode(); } if (EmailAddress.Length != 0) { hash ^= EmailAddress.GetHashCode(); } if (IsActive != false) { hash ^= IsActive.GetHashCode(); } if (Age != 0) { hash ^= Age.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { return((IsActive.GetHashCode() * 397) ^ (Range != null ? Range.GetHashCode() : 0)); } }
public override int GetHashCode() { int hashCode = 1803674884; hashCode = hashCode * -1521134295 + Id.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + IsIntermediate.GetHashCode(); hashCode = hashCode * -1521134295 + IsDanger.GetHashCode(); hashCode = hashCode * -1521134295 + IsProduction.GetHashCode(); hashCode = hashCode * -1521134295 + IsActive.GetHashCode(); hashCode = hashCode * -1521134295 + IntermediateNrD.GetHashCode(); hashCode = hashCode * -1521134295 + ClpSignalWordId.GetHashCode(); hashCode = hashCode * -1521134295 + ClpMsdsId.GetHashCode(); hashCode = hashCode * -1521134295 + FunctionId.GetHashCode(); hashCode = hashCode * -1521134295 + Price.GetHashCode(); hashCode = hashCode * -1521134295 + CurrencyId.GetHashCode(); hashCode = hashCode * -1521134295 + UnitId.GetHashCode(); hashCode = hashCode * -1521134295 + Density.GetHashCode(); hashCode = hashCode * -1521134295 + Solids.GetHashCode(); hashCode = hashCode * -1521134295 + Ash450.GetHashCode(); hashCode = hashCode * -1521134295 + VOC.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Remarks); hashCode = hashCode * -1521134295 + LoginId.GetHashCode(); hashCode = hashCode * -1521134295 + DateCreated.GetHashCode(); hashCode = hashCode * -1521134295 + DateUpdated.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int result = 17; unchecked { if (RuleId != default(string)) { result = (result * 31) + RuleId.GetHashCode(); } if (Rule != default(Rule)) { result = (result * 31) + Rule.GetHashCode(); } if (Guid != default(string)) { result = (result * 31) + Guid.GetHashCode(); } if (IsActive != default(bool)) { result = (result * 31) + IsActive.GetHashCode(); } if (Message != default(string)) { result = (result * 31) + Message.GetHashCode(); } if (StartLine != default(int)) { result = (result * 31) + StartLine.GetHashCode(); } if (WhenDetectedUtc != default(DateTime)) { result = (result * 31) + WhenDetectedUtc.GetHashCode(); } if (BaselineState != default(BaselineState)) { result = (result * 31) + BaselineState.GetHashCode(); } if (Properties != default(IDictionary <String, String>)) { result = (result * 31) + Properties.GetHashCode(); } if (Tags != default(IList <int>)) { result = (result * 31) + Tags.GetHashCode(); } } return(result); }
public override int GetHashCode() { unchecked { var hashCode = IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ Duration.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Type; return(hashCode); } }
/// <summary> /// Serves as a hash function for a Denomination. /// GetHashCode is suitable for use in hashing algorithms and data /// structures like a hash table. /// </summary> /// <returns>A hash code for the current Denomination.</returns> public override int GetHashCode() { return(Id.GetHashCode() ^ Type.GetHashCode() ^ (Name != null ? Name.GetHashCode() : 0) ^ Value.GetHashCode() ^ Count.GetHashCode() ^ AllowAcceptor.GetHashCode() ^ IsActive.GetHashCode()); }
public override int GetHashCode() { int hash = 1; if (entityId_ != null) { hash ^= EntityId.GetHashCode(); } if (UserId.Length != 0) { hash ^= UserId.GetHashCode(); } if (Password.Length != 0) { hash ^= Password.GetHashCode(); } if (DisplayName.Length != 0) { hash ^= DisplayName.GetHashCode(); } if (EmergencyContactPhoneNumber.Length != 0) { hash ^= EmergencyContactPhoneNumber.GetHashCode(); } if (IsPhoneDataDisplayable != false) { hash ^= IsPhoneDataDisplayable.GetHashCode(); } if (dateHired_ != null) { hash ^= DateHired.GetHashCode(); } if (IsActive != false) { hash ^= IsActive.GetHashCode(); } if (department_ != null) { hash ^= Department.GetHashCode(); } if (DepartmentName.Length != 0) { hash ^= DepartmentName.GetHashCode(); } if (contactInfo_ != null) { hash ^= ContactInfo.GetHashCode(); } if (IsIncluded != false) { hash ^= IsIncluded.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = Name != null?Name.GetHashCode() : 0; hashCode = (hashCode * 397) ^ Age; hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ (Doggies != null ? Doggies.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (SchemaName != null ? SchemaName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (SearchSchemaName != null ? SearchSchemaName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (RuleName != null ? RuleName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ UseAtSave.GetHashCode(); hashCode = (hashCode * 397) ^ (RuleBody != null ? RuleBody.GetHashCode() : 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 :) hashCode = hashCode * 59 + QuoteCurrency.GetHashCode(); hashCode = hashCode * 59 + Kind.GetHashCode(); if (TickSize != null) { hashCode = hashCode * 59 + TickSize.GetHashCode(); } if (ContractSize != null) { hashCode = hashCode * 59 + ContractSize.GetHashCode(); } if (IsActive != null) { hashCode = hashCode * 59 + IsActive.GetHashCode(); } hashCode = hashCode * 59 + OptionType.GetHashCode(); if (MinTradeAmount != null) { hashCode = hashCode * 59 + MinTradeAmount.GetHashCode(); } if (InstrumentName != null) { hashCode = hashCode * 59 + InstrumentName.GetHashCode(); } hashCode = hashCode * 59 + SettlementPeriod.GetHashCode(); if (Strike != null) { hashCode = hashCode * 59 + Strike.GetHashCode(); } hashCode = hashCode * 59 + BaseCurrency.GetHashCode(); if (CreationTimestamp != null) { hashCode = hashCode * 59 + CreationTimestamp.GetHashCode(); } if (ExpirationTimestamp != null) { hashCode = hashCode * 59 + ExpirationTimestamp.GetHashCode(); } return(hashCode); } }
/// <summary> /// Serves as a hash function for a Currency. /// GetHashCode is suitable for use in hashing algorithms and data /// structures like a hash table. /// </summary> /// <returns>A hash code for the current Currency.</returns> public override int GetHashCode() { int hash = (RegionInfo.ISOCurrencySymbol.GetHashCode() ^ ExchangeRate.GetHashCode() ^ IsDefault.GetHashCode() ^ IsActive.GetHashCode()); foreach (Denomination denom in Denominations) { hash ^= denom.GetHashCode(); } return(hash); }
public override int GetHashCode() { int result = 13; result = result * 7 + IsActive.GetHashCode(); result = result * 7 + Type.GetHashCode(); result = result * 7 + Wall.GetHashCode(); result = result * 7 + IsLighted.GetHashCode(); result = result * 7 + Liquid.GetHashCode(); result = result * 7 + IsLava.GetHashCode(); result = result * 7 + Frame.GetHashCode(); return(result); }
/// <inheritdoc /> public override int GetHashCode() { unchecked { int hashCode = (Instance != null ? Instance.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ApiUrl != null ? ApiUrl.GetHashCode() : 0); hashCode = (hashCode * 397) ^ PaidTill.GetHashCode(); hashCode = (hashCode * 397) ^ PaymentsCount.GetHashCode(); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ (TypeInstance != null ? TypeInstance.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hashCode = 438930606; hashCode = hashCode * -1521134295 + Id.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Name); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(Currency); hashCode = hashCode * -1521134295 + IsActive.GetHashCode(); hashCode = hashCode * -1521134295 + Value.GetHashCode(); hashCode = hashCode * -1521134295 + UpdatedOn.GetHashCode(); return(hashCode); }
public override int GetHashCode() { int result = 1; result = (result * 397) ^ (AcademicQaulification != null ? AcademicQaulification.GetHashCode() : 0); result = (result * 397) ^ AssignedDate.GetHashCode(); result = (result * 397) ^ (DeactivatedDate != null ? DeactivatedDate.GetHashCode() : 0); result = (result * 397) ^ Id.GetHashCode(); result = (result * 397) ^ (IdNumber != null ? IdNumber.GetHashCode() : 0); result = (result * 397) ^ (IsActive != null ? IsActive.GetHashCode() : 0); result = (result * 397) ^ LevelId.GetHashCode(); result = (result * 397) ^ (WorkStatus != null ? WorkStatus.GetHashCode() : 0); return(result); }
public int CalculateHash(HashCalculator calc) { return(HashCalculator.Combine( Life, HasPriority.GetHashCode(), IsActive.GetHashCode(), calc.Calculate(_battlefield), calc.Calculate(_graveyard), calc.Calculate(_library), calc.Calculate(_hand), _landLimit.Value.GetValueOrDefault(), _landsPlayedCount.Value )); }
public override int GetHashCode() { unchecked { var hashCode = Description?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (int)GameMode; hashCode = (hashCode * 397) ^ Id.GetHashCode(); hashCode = (hashCode * 397) ^ (ImageUrl?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ IsRanked.GetHashCode(); hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ ContentId.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { int hashCode = (ProjectKey != null ? ProjectKey.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (ProjectName != null ? ProjectName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (BuildName != null ? BuildName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PlanKey != null ? PlanKey.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Enabled.GetHashCode(); hashCode = (hashCode * 397) ^ IsBuilding.GetHashCode(); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ AverageBuildTimeInSeconds.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = ContentId.GetHashCode(); hashCode = (hashCode * 397) ^ EndDate.GetHashCode(); hashCode = (hashCode * 397) ^ (IconUrl?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Id.GetHashCode(); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ (Name?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (Playlists?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ (StartDate?.GetHashCode() ?? 0); return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (MenuId != null) { hashCode = hashCode * 59 + MenuId.GetHashCode(); } if (Name != null) { hashCode = hashCode * 59 + Name.GetHashCode(); } if (Subtitle != null) { hashCode = hashCode * 59 + Subtitle.GetHashCode(); } if (IsActive != null) { hashCode = hashCode * 59 + IsActive.GetHashCode(); } if (IsPosMenu != null) { hashCode = hashCode * 59 + IsPosMenu.GetHashCode(); } if (LatestMenuUpdate != null) { hashCode = hashCode * 59 + LatestMenuUpdate.GetHashCode(); } if (LastSuccessfulMenuUpdateAt != null) { hashCode = hashCode * 59 + LastSuccessfulMenuUpdateAt.GetHashCode(); } if (Url != null) { hashCode = hashCode * 59 + Url.GetHashCode(); } if (OpenHours != null) { hashCode = hashCode * 59 + OpenHours.GetHashCode(); } if (SpecialHours != null) { hashCode = hashCode * 59 + SpecialHours.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ (States != null ? States.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (TransitionEvents != null ? TransitionEvents.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (PropertyChangeEvents != null ? PropertyChangeEvents.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (NewArtifactEvents != null ? NewArtifactEvents.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Projects != null ? Projects.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { var hashCode = 1882703150; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(UserName); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(UserHash); hashCode = hashCode * -1521134295 + IsActive.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <IList <Role> > .Default.GetHashCode(Roles); hashCode = hashCode * -1521134295 + EqualityComparer <Photo> .Default.GetHashCode(Photo); hashCode = hashCode * -1521134295 + EqualityComparer <Department> .Default.GetHashCode(Department); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = IdRequestUser; hashCode = (hashCode * 397) ^ (Login != null ? Login.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Snp != null ? Snp.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Post != null ? Post.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Phone != null ? Phone.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Department != null ? Department.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Unit != null ? Unit.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Office != null ? Office.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (RequestUserAssoc != null ? RequestUserAssoc.GetHashCode() : 0); hashCode = (hashCode * 397) ^ IsActive.GetHashCode(); hashCode = (hashCode * 397) ^ Deleted.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Id.Length != 0) { hash ^= Id.GetHashCode(); } if (CreatedDT.Length != 0) { hash ^= CreatedDT.GetHashCode(); } if (ModifiedDT.Length != 0) { hash ^= ModifiedDT.GetHashCode(); } if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (LoginName.Length != 0) { hash ^= LoginName.GetHashCode(); } if (PasswordHash.Length != 0) { hash ^= PasswordHash.GetHashCode(); } if (AuthenticationToken.Length != 0) { hash ^= AuthenticationToken.GetHashCode(); } if (IsActive != false) { hash ^= IsActive.GetHashCode(); } if (IsAdmin != false) { hash ^= IsAdmin.GetHashCode(); } return(hash); }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (PassportId != null) { hashCode = hashCode * 59 + PassportId.GetHashCode(); } hashCode = hashCode * 59 + PlanId.GetHashCode(); if (OptionalLinkedSubscriptionId != null) { hashCode = hashCode * 59 + OptionalLinkedSubscriptionId.GetHashCode(); } if (SubscriptionDate != null) { hashCode = hashCode * 59 + SubscriptionDate.GetHashCode(); } if (ExpirationDate != null) { hashCode = hashCode * 59 + ExpirationDate.GetHashCode(); } hashCode = hashCode * 59 + CurrentTokensUsed.GetHashCode(); hashCode = hashCode * 59 + ExtraTokens.GetHashCode(); if (ExtraTokensEndDate != null) { hashCode = hashCode * 59 + ExtraTokensEndDate.GetHashCode(); } hashCode = hashCode * 59 + IsYearlyPaid.GetHashCode(); hashCode = hashCode * 59 + IsActive.GetHashCode(); hashCode = hashCode * 59 + TokensPercentUsageAlert.GetHashCode(); hashCode = hashCode * 59 + TokensPercentUsageAlertSent.GetHashCode(); hashCode = hashCode * 59 + IsManaged.GetHashCode(); if (NextMonthlyTerm != null) { hashCode = hashCode * 59 + NextMonthlyTerm.GetHashCode(); } hashCode = hashCode * 59 + RemainingTokens.GetHashCode(); return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (ProviderName != null) { hashCode = hashCode * 59 + ProviderName.GetHashCode(); } if (MerchantSuppliedId != null) { hashCode = hashCode * 59 + MerchantSuppliedId.GetHashCode(); } if (IsActive != null) { hashCode = hashCode * 59 + IsActive.GetHashCode(); } if (IsOrderProtocolPos != null) { hashCode = hashCode * 59 + IsOrderProtocolPos.GetHashCode(); } if (AutoReleaseEnabled != null) { hashCode = hashCode * 59 + AutoReleaseEnabled.GetHashCode(); } if (AutoReleaseDistance != null) { hashCode = hashCode * 59 + AutoReleaseDistance.GetHashCode(); } if (SpecialInstructionsMaxLength != null) { hashCode = hashCode * 59 + SpecialInstructionsMaxLength.GetHashCode(); } if (CurrentDeactivations != null) { hashCode = hashCode * 59 + CurrentDeactivations.GetHashCode(); } return(hashCode); } }
/// <summary> /// Gets the hash code /// </summary> /// <returns>Hash code</returns> public override int GetHashCode() { unchecked // Overflow is fine, just wrap { int hashCode = 41; if (IsActive != null) { hashCode = hashCode * 59 + IsActive.GetHashCode(); } if (Reason != null) { hashCode = hashCode * 59 + Reason.GetHashCode(); } if (Notes != null) { hashCode = hashCode * 59 + Notes.GetHashCode(); } if (ShouldSendEmail != null) { hashCode = hashCode * 59 + ShouldSendEmail.GetHashCode(); } return(hashCode); } }