예제 #1
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Part?.GetHashCode() ?? 0;
         hashCode = (hashCode * 397) ^ IsMatch.GetHashCode();
         return(hashCode);
     }
 }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 /// <returns></returns>
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = IsMatch.GetHashCode();
         hashCode = (hashCode * 397) ^ (Start != null ? Start.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (End != null ? End.GetHashCode() : 0);
         return(hashCode);
     }
 }
예제 #3
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = 13;
         hashCode = (hashCode * 397) ^ Amount.GetHashCode();
         hashCode = (hashCode * 397) ^ IsMatch.GetHashCode();
         return(hashCode);
     }
 }
예제 #4
0
 /// <summary>
 /// Returns the hash code for this instance.
 /// </summary>
 /// <returns>
 /// A 32-bit signed integer that is the hash code for this instance.
 /// </returns>
 /// <filterpriority>2</filterpriority>
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = IsMatch.GetHashCode();
         hashCode = (hashCode * 397) ^ LengthInCollection1;
         hashCode = (hashCode * 397) ^ LengthInCollection2;
         return(hashCode);
     }
 }
예제 #5
0
        public override int GetHashCode()
        {
            var hashCode = 977042922;

            hashCode = hashCode * -1521134295 + IsMatch.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(TrimmedRoute);

            hashCode = hashCode * -1521134295 + EqualityComparer <IEnumerable <KeyValuePair <string, string> > > .Default.GetHashCode(RouteParameters);

            return(hashCode);
        }
예제 #6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Name.Length != 0)
            {
                hash ^= Name.GetHashCode();
            }
            if (ExternalId.Length != 0)
            {
                hash ^= ExternalId.GetHashCode();
            }
            if (Profile.Length != 0)
            {
                hash ^= Profile.GetHashCode();
            }
            if (Job.Length != 0)
            {
                hash ^= Job.GetHashCode();
            }
            if (Company.Length != 0)
            {
                hash ^= Company.GetHashCode();
            }
            if (applicationDate_ != null)
            {
                hash ^= ApplicationDate.GetHashCode();
            }
            if (Stage != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationStage.Unspecified)
            {
                hash ^= Stage.GetHashCode();
            }
            if (State != global::Google.Cloud.Talent.V4Beta1.Application.Types.ApplicationState.Unspecified)
            {
                hash ^= State.GetHashCode();
            }
            hash ^= interviews_.GetHashCode();
            if (referral_ != null)
            {
                hash ^= Referral.GetHashCode();
            }
            if (createTime_ != null)
            {
                hash ^= CreateTime.GetHashCode();
            }
            if (updateTime_ != null)
            {
                hash ^= UpdateTime.GetHashCode();
            }
            if (OutcomeNotes.Length != 0)
            {
                hash ^= OutcomeNotes.GetHashCode();
            }
            if (Outcome != global::Google.Cloud.Talent.V4Beta1.Outcome.Unspecified)
            {
                hash ^= Outcome.GetHashCode();
            }
            if (isMatch_ != null)
            {
                hash ^= IsMatch.GetHashCode();
            }
            if (JobTitleSnippet.Length != 0)
            {
                hash ^= JobTitleSnippet.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }