public override int GetHashCode() { unchecked { var hashCode = StartTime?.GetHashCode() ?? 0; hashCode = (hashCode * 397) ^ (EndTime?.GetHashCode() ?? 0); hashCode = (hashCode * 397) ^ Duration.GetHashCode(); return(hashCode); } }
/// <summary> /// Serves as a hash function for a particular type. /// </summary> /// <returns> /// A hash code for the current <see cref="T:System.Object"/>. /// </returns> public override int GetHashCode() { unchecked { int result = Speed.GetHashCode(); result = (result * 397) ^ StartPosition.GetHashCode(); result = (result * 397) ^ Duration.GetHashCode(); result = (result * 397) ^ StartTime.GetHashCode(); return(result); } }
public override int GetHashCode() { unchecked { var hashCode = (_specs != null ? _specs.GetHashCode() : 0); hashCode = (hashCode * 397) ^ StartTime.GetHashCode(); hashCode = (hashCode * 397) ^ EndTime.GetHashCode(); hashCode = (hashCode * 397) ^ Passed.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = (CodecName != null ? CodecName.GetHashCode() : 0); hashCode = (hashCode * 397) ^ StartTime.GetHashCode(); hashCode = (hashCode * 397) ^ Channels; hashCode = (hashCode * 397) ^ (ChannelLayout != null ? ChannelLayout.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { unchecked { var hashCode = Level.GetHashCode(); hashCode = (hashCode * 397) ^ StartTime.GetHashCode(); hashCode = (hashCode * 397) ^ Duration.GetHashCode(); hashCode = (hashCode * 397) ^ IsProgress.GetHashCode(); hashCode = (hashCode * 397) ^ RemainToComplete.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 11; hash = hash * 13 + Id.GetHashCode(); hash = hash * 13 + StartTime.GetHashCode(); hash = hash * 13 + EndTime.GetHashCode(); hash = hash * 13 + CurrentOwnerName.GetHashCode(); hash = hash * 13 + CurrentHighestBid.GetHashCode(); return(hash); }
public override int GetHashCode() { unchecked { var hashCode = (TokenId != null ? TokenId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (UserId != null ? UserId.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (Channel != null ? Channel.GetHashCode() : 0); hashCode = (hashCode * 397) ^ StartTime.GetHashCode(); hashCode = (hashCode * 397) ^ EndTime.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { var hashCode = -777482270; hashCode = hashCode * -1521134295 + StartTime.GetHashCode(); hashCode = hashCode * -1521134295 + EndTime.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <List <StockPrice> > .Default.GetHashCode(Prices); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(DateFormat); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = (Name != null ? Name.GetHashCode() : 0); hashCode = (hashCode * 397) ^ StartSeq.GetHashCode(); hashCode = (hashCode * 397) ^ StartTime.GetHashCode(); hashCode = (hashCode * 397) ^ (FilterSubject != null ? FilterSubject.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (External != null ? External.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { if (StartTime != null) { if (EndTime != null) { return((StartTime.GetHashCode() * 23) + EndTime.GetHashCode()); } return(StartTime.GetHashCode()); } return(0); }
public override int GetHashCode() { int hashCode = 292862208; hashCode = hashCode * -1521134295 + DoctorCalendarID.GetHashCode(); hashCode = hashCode * -1521134295 + DoctorID.GetHashCode(); hashCode = hashCode * -1521134295 + Date.GetHashCode(); hashCode = hashCode * -1521134295 + StartTime.GetHashCode(); hashCode = hashCode * -1521134295 + EndTime.GetHashCode(); hashCode = hashCode * -1521134295 + HospitalID.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = TestMethod.GetHashCode(); hashCode = (hashCode * 397) ^ Parameters.GetHashCode(); hashCode = (hashCode * 397) ^ StartTime.GetHashCode(); hashCode = (hashCode * 397) ^ Duration.GetHashCode(); hashCode = (hashCode * 397) ^ (int)Result; return(hashCode); } }
public override int GetHashCode() { int hashcode = 157; unchecked { hashcode = (hashcode * 397) + SessionId.GetHashCode(); hashcode = (hashcode * 397) + TCollections.GetHashCode(Paths); hashcode = (hashcode * 397) + StartTime.GetHashCode(); hashcode = (hashcode * 397) + EndTime.GetHashCode(); } return(hashcode); }
public override int GetHashCode() { int hashCode = 1832843767; hashCode = hashCode * -1521134295 + AppointmentID.GetHashCode(); hashCode = hashCode * -1521134295 + UserID.GetHashCode(); hashCode = hashCode * -1521134295 + DoctorID.GetHashCode(); hashCode = hashCode * -1521134295 + AppDate.GetHashCode(); hashCode = hashCode * -1521134295 + DoctorCalendarID.GetHashCode(); hashCode = hashCode * -1521134295 + StartTime.GetHashCode(); hashCode = hashCode * -1521134295 + EndTime.GetHashCode(); return(hashCode); }
public override int GetHashCode() { unchecked { var hashCode = StartTime.GetHashCode(); hashCode = (hashCode * 397) ^ Duration.GetHashCode(); hashCode = (hashCode * 397) ^ UserId.GetHashCode(); hashCode = (hashCode * 397) ^ IDESessionId.GetHashCode(); hashCode = (hashCode * 397) ^ (KaVEVersion != null ? KaVEVersion.GetHashCode() : 0); hashCode = (hashCode * 397) ^ Project.GetHashCode(); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (Name.Length != 0) { hash ^= Name.GetHashCode(); } if (ExecutionState != global::Google.Cloud.WebSecurityScanner.V1.ScanRun.Types.ExecutionState.Unspecified) { hash ^= ExecutionState.GetHashCode(); } if (ResultState != global::Google.Cloud.WebSecurityScanner.V1.ScanRun.Types.ResultState.Unspecified) { hash ^= ResultState.GetHashCode(); } if (startTime_ != null) { hash ^= StartTime.GetHashCode(); } if (endTime_ != null) { hash ^= EndTime.GetHashCode(); } if (UrlsCrawledCount != 0L) { hash ^= UrlsCrawledCount.GetHashCode(); } if (UrlsTestedCount != 0L) { hash ^= UrlsTestedCount.GetHashCode(); } if (HasVulnerabilities != false) { hash ^= HasVulnerabilities.GetHashCode(); } if (ProgressPercent != 0) { hash ^= ProgressPercent.GetHashCode(); } if (errorTrace_ != null) { hash ^= ErrorTrace.GetHashCode(); } hash ^= warningTraces_.GetHashCode(); if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { unchecked { var hashCode = Id.GetHashCode(); hashCode = (hashCode * 397) ^ (Description != null ? Description.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (int)State; hashCode = (hashCode * 397) ^ StartTime.GetHashCode(); hashCode = (hashCode * 397) ^ FinishTime.GetHashCode(); hashCode = (hashCode * 397) ^ (Result != null ? Result.GetHashCode() : 0); hashCode = (hashCode * 397) ^ (CurrentMessage != null ? CurrentMessage.GetHashCode() : 0); return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (certificateUuid_ != null) { hash ^= CertificateUuid.GetHashCode(); } if (rootGuid_ != null) { hash ^= RootGuid.GetHashCode(); } if (CertType != 0) { hash ^= CertType.GetHashCode(); } if (IsSigner != false) { hash ^= IsSigner.GetHashCode(); } if (DistinguisedName.Length != 0) { hash ^= DistinguisedName.GetHashCode(); } if (signerUuid_ != null) { hash ^= SignerUuid.GetHashCode(); } if (Signature.Length != 0) { hash ^= Signature.GetHashCode(); } if (startTime_ != null) { hash ^= StartTime.GetHashCode(); } if (endTime_ != null) { hash ^= EndTime.GetHashCode(); } if (CertificateBody.Length != 0) { hash ^= CertificateBody.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
/** *<summary> * Calculates hash code for ScheduleItem *</summary> */ public override int GetHashCode() { int hashSeed = "ScheduleItem".GetHashCode(); //Use class name as seed hash code int hashGain = hashSeed / 2; //Use seed/2 as gain int hash; //Calculate hash code = seed + sum(code * gain + propertyHashCode) hash = hashSeed; hash = hash * hashGain + ItemName.GetHashCode(); hash = hash * hashGain + StartTime.GetHashCode(); hash = hash * hashGain + EndTime.GetHashCode(); return(hash); }
public override int GetHashCode() { return(Id.GetHashCode() ^ PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ (StartTime != null ? StartTime.GetHashCode() : 0) ^ (EndTime != null ? EndTime.GetHashCode() : 0) ^ (SourceConceptId.HasValue ? SourceConceptId.Value.GetHashCode() : 0) ^ (CareSiteId.GetHashCode()) ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode())); }
public override int GetHashCode() { int hash = 1; if (Result != 0) { hash ^= Result.GetHashCode(); } if (StartTime != 0L) { hash ^= StartTime.GetHashCode(); } hash ^= badges_.GetHashCode(); return(hash); }
public override int GetHashCode() { var hashCode = -1245731201; hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(To); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(From); hashCode = hashCode * -1521134295 + StartTime.GetHashCode(); hashCode = hashCode * -1521134295 + EndTime.GetHashCode(); hashCode = hashCode * -1521134295 + TimeSpent.GetHashCode(); hashCode = hashCode * -1521134295 + Calories.GetHashCode(); hashCode = hashCode * -1521134295 + Cost.GetHashCode(); return(hashCode); }
public override int GetHashCode() => BlobName.GetHashCode() ^ CacheControl.GetHashCode() ^ BlobContainerName.GetHashCode() ^ ContentDisposition.GetHashCode() ^ ContentEncoding.GetHashCode() ^ ContentLanguage.GetHashCode() ^ ContentType.GetHashCode() ^ ExpiryTime.GetHashCode() ^ Identifier.GetHashCode() ^ IPRange.GetHashCode() ^ Permissions.GetHashCode() ^ Protocol.GetHashCode() ^ StartTime.GetHashCode() ^ Version.GetHashCode();
public override int GetHashCode() { int hashcode = 157; unchecked { if (__isset.productType) { hashcode = (hashcode * 397) + ProductType.GetHashCode(); } if (__isset.productName) { hashcode = (hashcode * 397) + ProductName.GetHashCode(); } if (__isset.unit) { hashcode = (hashcode * 397) + Unit.GetHashCode(); } if (__isset.limitedPaidBalance) { hashcode = (hashcode * 397) + LimitedPaidBalance.GetHashCode(); } if (__isset.limitedFreeBalance) { hashcode = (hashcode * 397) + LimitedFreeBalance.GetHashCode(); } if (__isset.unlimitedPaidBalance) { hashcode = (hashcode * 397) + UnlimitedPaidBalance.GetHashCode(); } if (__isset.unlimitedFreeBalance) { hashcode = (hashcode * 397) + UnlimitedFreeBalance.GetHashCode(); } if (__isset.startTime) { hashcode = (hashcode * 397) + StartTime.GetHashCode(); } if (__isset.endTime) { hashcode = (hashcode * 397) + EndTime.GetHashCode(); } if (__isset.autopayEnabled) { hashcode = (hashcode * 397) + AutopayEnabled.GetHashCode(); } } return(hashcode); }
public override int GetHashCode() { int hashCode = 1968497320; hashCode = hashCode * -1521134295 + DoctorID.GetHashCode(); hashCode = hashCode * -1521134295 + UserID.GetHashCode(); hashCode = hashCode * -1521134295 + AppointmentID.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(UserName); hashCode = hashCode * -1521134295 + StartTime.GetHashCode(); hashCode = hashCode * -1521134295 + EndTime.GetHashCode(); hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(HospitalName); hashCode = hashCode * -1521134295 + Date.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 (Class != null) { hashCode = hashCode * 59 + Class.GetHashCode(); } if (Links != null) { hashCode = hashCode * 59 + Links.GetHashCode(); } if (DisplayName != null) { hashCode = hashCode * 59 + DisplayName.GetHashCode(); } if (DurationInMillis != null) { hashCode = hashCode * 59 + DurationInMillis.GetHashCode(); } if (Id != null) { hashCode = hashCode * 59 + Id.GetHashCode(); } if (Input != null) { hashCode = hashCode * 59 + Input.GetHashCode(); } if (Result != null) { hashCode = hashCode * 59 + Result.GetHashCode(); } if (StartTime != null) { hashCode = hashCode * 59 + StartTime.GetHashCode(); } if (State != null) { hashCode = hashCode * 59 + State.GetHashCode(); } return(hashCode); } }
public override int GetHashCode() { int hash = 1; if (startTime_ != null) { hash ^= StartTime.GetHashCode(); } if (endTime_ != null) { hash ^= EndTime.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.GetHashCode(); } return(hash); }
public override int GetHashCode() { return(Id.GetHashCode() ^ PersonId.GetHashCode() ^ ConceptId.GetHashCode() ^ TypeConceptId.GetHashCode() ^ (SourceValue != null ? SourceValue.GetHashCode() : 0) ^ (StartTime != null ? StartTime.GetHashCode() : 0) ^ (EndTime != null ? EndTime.GetHashCode() : 0) ^ (SourceConceptId.HasValue ? SourceConceptId.Value.GetHashCode() : 0) ^ (CareSiteId.GetHashCode()) ^ (StartDate.GetHashCode()) ^ (EndDate.GetHashCode()) ^ AdmittingSourceConceptId.GetHashCode() ^ (AdmittingSourceValue != null ? AdmittingSourceValue.GetHashCode() : 0) ^ DischargeToConceptId.GetHashCode() ^ (DischargeToSourceValue != null ? DischargeToSourceValue.GetHashCode() : 0) ^ PrecedingVisitOccurrenceId.GetHashCode()); }
public override int GetHashCode() { int hash = 1; hash ^= days_.GetHashCode(); if (startTime_ != null) { hash ^= StartTime.GetHashCode(); } if (duration_ != null) { hash ^= Duration.GetHashCode(); } if (_unknownFields != null) { hash ^= _unknownFields.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 (DayIndex != null) { hashCode = hashCode * 59 + DayIndex.GetHashCode(); } if (StartTime != null) { hashCode = hashCode * 59 + StartTime.GetHashCode(); } if (EndTime != null) { hashCode = hashCode * 59 + EndTime.GetHashCode(); } return(hashCode); } }