Exemple #1
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = -106303338;
                hashCode = hashCode * -1521134295 + TimeStamp.GetHashCode();
                hashCode = hashCode * -1521134295 + Category.GetHashCode();
                hashCode = hashCode * -1521134295 + EqualityComparer <string> .Default.GetHashCode(METARTypeDisplay);

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

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

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

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

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

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

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

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

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

                return(hashCode);
            }
        }
Exemple #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (source_ != null)
            {
                hash ^= Source.GetHashCode();
            }
            if (Sequence != 0UL)
            {
                hash ^= Sequence.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (TimeStamp != 0L)
            {
                hash ^= TimeStamp.GetHashCode();
            }
            if (correlationId_ != null)
            {
                hash ^= CorrelationId.GetHashCode();
            }
            hash ^= events_.GetHashCode();
            return(hash);
        }
 public override int GetHashCode()
 {
     return(TimeStamp.GetHashCode() ^
            BlockType.GetHashCode() ^
            BlockId.GetHashCode() ^
            Data.GetHashCode() ^
            Digest.GetHashCode() ^
            Properties.GetHashCode());
 }
Exemple #4
0
        public override int GetHashCode()
        {
            var hashCode = 272928259;

            hashCode = hashCode * -1521134295 + TimeStamp.GetHashCode();
            hashCode = hashCode * -1521134295 + Latency.GetHashCode();
            hashCode = hashCode * -1521134295 + Status.GetHashCode();
            return(hashCode);
        }
Exemple #5
0
 public override int GetHashCode()
 {
     unchecked {
         var hashCode = TimeStamp.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Seq;
         hashCode = (hashCode * 397) ^ Tag;
         return(hashCode);
     }
 }
Exemple #6
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)SystemEventType;
         hashCode = (hashCode * 397) ^ TimeStamp.GetHashCode();
         hashCode = (hashCode * 397) ^ (EventData != null ? EventData.GetHashCode() : 0);
         return(hashCode);
     }
 }
Exemple #7
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = (int)State;
         hashCode = (hashCode * 397) ^ TimeToLive.GetHashCode();
         hashCode = (hashCode * 397) ^ TimeStamp.GetHashCode();
         return(hashCode);
     }
 }
Exemple #8
0
        public override int GetHashCode()
        {
            var hashCode = -92159382;

            hashCode = hashCode * -1521134295 + TimeStamp.GetHashCode();
            hashCode = hashCode * -1521134295 + EqualityComparer <Profile> .Default.GetHashCode(Profile);

            hashCode = hashCode * -1521134295 + EqualityComparer <Alert> .Default.GetHashCode(Alert);

            return(hashCode);
        }
Exemple #9
0
        public override int GetHashCode()
        {
            var hash = HashSeed;

            hash = hash * HashFactor + typeof(ChatModel).GetHashCode();
            hash = hash * HashFactor + TimeStamp.GetHashCode();
            hash = hash * HashFactor + User.GetHashCode();
            hash = hash * HashFactor + Message.GetHashCode();

            return(hash);
        }
Exemple #10
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = 13;
         hashCode = (hashCode * 397) ^ TimeStamp.GetHashCode();
         hashCode = (hashCode * 397) ^ NodeIndex;
         hashCode = (hashCode * 397) ^ Message.GetHashCode();
         return(hashCode);
     }
 }
Exemple #11
0
        public override int GetHashCode()
        {
            unchecked
            {
                var hashCode = CausationId != null?CausationId.GetHashCode() : 0;

                hashCode = (hashCode * 397) ^ (TimeStamp != null ? TimeStamp.GetHashCode() : 0);
                hashCode = (hashCode * 397) ^ (Body != null ? Body.GetHashCode() : 0);
                return(hashCode);
            }
        }
Exemple #12
0
        public override int GetHashCode()
        {
            int hash = 13;
            int prim = 11;

            hash = (hash * prim) ^ Name.GetHashCode();
            hash = (hash * prim) ^ MinesHit.GetHashCode();
            hash = (hash * prim) ^ Time.GetHashCode();
            hash = (hash * prim) ^ Difficulty.GetHashCode();
            hash = (hash * prim) ^ TimeStamp.GetHashCode();
            return(hash);
        }
Exemple #13
0
 /// <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
     {
         var hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ (Topic != null ? Topic.GetHashCode() : 0);
         hashCode = (hashCode * 397) ^ (int)MessageType;
         hashCode = (hashCode * 397) ^ TimeStamp.GetHashCode();
         hashCode = (hashCode * 397) ^ HandledCount.GetHashCode();
         return(hashCode);
     }
 }
Exemple #14
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = TimeStamp.GetHashCode();
         hashCode = (hashCode * 397) ^ HashRate.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)HashCount;
         hashCode = (hashCode * 397) ^ (int)Found;
         hashCode = (hashCode * 397) ^ Difficulty.GetHashCode();
         hashCode = (hashCode * 397) ^ (int)Height;
         return(hashCode);
     }
 }
Exemple #15
0
 public override int GetHashCode()
 {
     unchecked
     {
         int hash = 17 + this.OrderID;
         hash = hash * 23 + OrderID.GetHashCode();
         hash = hash * 23 + Email.GetHashCode();
         hash = hash * 23 + ShoppingCart.GetHashCode();
         hash = hash * 23 + TimeStamp.GetHashCode();
         hash = hash * 23 + this.ToString().GetHashCode();
         return(hash);
     }
 }
 /// <inheritdoc/>
 public override int GetHashCode()
 {
     unchecked
     {
         int hashCode = base.GetHashCode();
         hashCode = (hashCode * 397) ^ TimeStamp.GetHashCode();
         hashCode = (hashCode * 397) ^ VersionHigh;
         hashCode = (hashCode * 397) ^ VersionLow;
         hashCode = (hashCode * 397) ^ FrameId;
         hashCode = (hashCode * 397) ^ FramePacketCount;
         return(hashCode);
     }
 }
Exemple #17
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TimeStamp != 0L)
            {
                hash ^= TimeStamp.GetHashCode();
            }
            if (HostName.Length != 0)
            {
                hash ^= HostName.GetHashCode();
            }
            if (ServiceType != 0)
            {
                hash ^= ServiceType.GetHashCode();
            }
            if (Developer != 0)
            {
                hash ^= Developer.GetHashCode();
            }
            if (ClientIp.Length != 0)
            {
                hash ^= ClientIp.GetHashCode();
            }
            if (Stack.Length != 0)
            {
                hash ^= Stack.GetHashCode();
            }
            if (Message.Length != 0)
            {
                hash ^= Message.GetHashCode();
            }
            if (Action.Length != 0)
            {
                hash ^= Action.GetHashCode();
            }
            if (AccountId.Length != 0)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (ProjectId.Length != 0)
            {
                hash ^= ProjectId.GetHashCode();
            }
            if (Level != 0)
            {
                hash ^= Level.GetHashCode();
            }
            hash ^= Extras.GetHashCode();
            return(hash);
        }
Exemple #18
0
        public override int GetHashCode()
        {
            int hash = 2039;

            hash = hash * 1553 + State.GetHashCode();
            hash = hash * 1553 + RawCoordinates.GetHashCode();
            hash = hash * 1553 + SmoothedCoordinates.GetHashCode();
            hash = hash * 1553 + LeftEye.GetHashCode();
            hash = hash * 1553 + RightEye.GetHashCode();
            hash = hash * 1553 + TimeStamp.GetHashCode();
            hash = hash * 1553 + TimeStampString.GetHashCode();
            hash = hash * 1553 + IsFixated.GetHashCode();
            return(hash);
        }
Exemple #19
0
    /// <inheritdoc/>
    public override int GetHashCode()
    {
        const int nullValue = -1;

        return(TimeStamp.GetHashCode()
               ^ StringCleaner.PrepareForComparison(DisplayName).GetHashCode()
               ^ HashStringCollection(EmailAddresses)
               ^ HashMergeable(Person)
               ^ HashPhoneNumbers(PhoneNumbers)
               ^ HashMergeable(Work)
               ^ HashStringCollection(InstantMessengerHandles)
               ^ StringCleaner.PrepareForComparison(WebPagePersonal).GetHashCode()
               ^ HashMergeable(AddressHome)
               ^ StringCleaner.PrepareForComparison(WebPageWork).GetHashCode());
Exemple #20
0
        public override int GetHashCode()
        {
            int hash = 17;

            hash = hash * 23 + Version.GetHashCode();
            hash = hash * 23 + ImageBase.GetHashCode();
            hash = hash * 23 + FilePath.GetHashCode();
            hash = hash * 23 + FileName.GetHashCode();
            hash = hash * 23 + FileSize.GetHashCode();
            hash = hash * 23 + IsManaged.GetHashCode();
            hash = hash * 23 + TimeStamp.GetHashCode();
            hash = hash * 23 + PdbInfo.GetHashCode();
            hash = hash * 23 + Tags.GetHashCode();
            return(hash);
        }
Exemple #21
0
 public override int GetHashCode()
 {
     unchecked
     {
         var hashCode = Id.GetHashCode();
         hashCode = (hashCode * 397) ^ TimeStamp.GetHashCode();
         hashCode = (hashCode * 397) ^ (RealmSlug?.GetHashCode() ?? 0);
         hashCode = (hashCode * 397) ^ MeanValue.GetHashCode();
         hashCode = (hashCode * 397) ^ AdjustedMeanValue.GetHashCode();
         hashCode = (hashCode * 397) ^ LowestValue.GetHashCode();
         hashCode = (hashCode * 397) ^ HighestValue.GetHashCode();
         hashCode = (hashCode * 397) ^ Quantity;
         return(hashCode);
     }
 }
Exemple #22
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Ret != 0)
            {
                hash ^= Ret.GetHashCode();
            }
            if (AccountId.Length != 0)
            {
                hash ^= AccountId.GetHashCode();
            }
            if (ChannelAccountId.Length != 0)
            {
                hash ^= ChannelAccountId.GetHashCode();
            }
            if (Channel.Length != 0)
            {
                hash ^= Channel.GetHashCode();
            }
            if (ChannelInfo.Length != 0)
            {
                hash ^= ChannelInfo.GetHashCode();
            }
            if (TimeStamp != 0L)
            {
                hash ^= TimeStamp.GetHashCode();
            }
            hash ^= users_.GetHashCode();
            if (Addication != 0)
            {
                hash ^= Addication.GetHashCode();
            }
            if (IsAdult != 0)
            {
                hash ^= IsAdult.GetHashCode();
            }
            if (Token.Length != 0)
            {
                hash ^= Token.GetHashCode();
            }
            if (PayLink.Length != 0)
            {
                hash ^= PayLink.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            unchecked {
                int result = LogPosition.GetHashCode();
                result = (result * 397) ^ Flags.GetHashCode();
                result = (result * 397) ^ TransactionPosition.GetHashCode();
                result = (result * 397) ^ TransactionOffset;
                result = (result * 397) ^ ExpectedVersion.GetHashCode();
                result = (result * 397) ^ EventStreamId.GetHashCode();

                result = (result * 397) ^ EventId.GetHashCode();
                result = (result * 397) ^ CorrelationId.GetHashCode();
                result = (result * 397) ^ TimeStamp.GetHashCode();
                result = (result * 397) ^ EventType.GetHashCode();
                result = (result * 397) ^ Data.GetHashCode();
                result = (result * 397) ^ Metadata.GetHashCode();
                return(result);
            }
        }
Exemple #24
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (PersistenceId.Length != 0)
            {
                hash ^= PersistenceId.GetHashCode();
            }
            if (SequenceNr != 0L)
            {
                hash ^= SequenceNr.GetHashCode();
            }
            if (timeStamp_ != null)
            {
                hash ^= TimeStamp.GetHashCode();
            }
            if (payload_ != null)
            {
                hash ^= Payload.GetHashCode();
            }
            return(hash);
        }
Exemple #25
0
 public override int GetHashCode()
 {
     unchecked
     {
         int result = (Cookie != null ? Cookie.GetHashCode() : 0);
         result = (result * 397) ^ Features.GetHashCode();
         result = (result * 397) ^ (FileFormatVersion != null ? FileFormatVersion.GetHashCode() : 0);
         result = (result * 397) ^ HeaderOffset.GetHashCode();
         result = (result * 397) ^ TimeStamp.GetHashCode();
         result = (result * 397) ^ (CreatorApplication != null ? CreatorApplication.GetHashCode() : 0);
         result = (result * 397) ^ (CreatorVersion != null ? CreatorVersion.GetHashCode() : 0);
         result = (result * 397) ^ CreatorHostOsType.GetHashCode();
         result = (result * 397) ^ PhsyicalSize.GetHashCode();
         result = (result * 397) ^ VirtualSize.GetHashCode();
         result = (result * 397) ^ (DiskGeometry != null ? DiskGeometry.GetHashCode() : 0);
         result = (result * 397) ^ DiskType.GetHashCode();
         result = (result * 397) ^ CheckSum.GetHashCode();
         result = (result * 397) ^ UniqueId.GetHashCode();
         result = (result * 397) ^ SavedState.GetHashCode();
         result = (result * 397) ^ (Reserved != null ? Reserved.GetHashCode() : 0);
         result = (result * 397) ^ (RawData != null ? RawData.GetHashCode() : 0);
         return(result);
     }
 }
Exemple #26
0
 public override int GetHashCode()
 {
     return(this == null
         ? 0
         : SignalID.GetHashCode() ^ TimeStamp.GetHashCode() ^ EventCode.GetHashCode() ^ EventParam.GetHashCode());
 }
 public override int GetHashCode()
 {
     return(this == null ? 0 : TimeStamp.GetHashCode() ^ SignalID.GetHashCode() ^ Phase.GetHashCode());
 }
Exemple #28
0
 public override int GetHashCode()
 {
     return(TimeStamp.GetHashCode() ^ _minorOrder.GetHashCode());
 }
Exemple #29
0
 public override int GetHashCode( )
 {
     return(pid.GetHashCode());
 }
Exemple #30
0
 public override int GetHashCode() => TimeStamp.GetHashCode();