コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ServerVer != 0)
            {
                hash ^= ServerVer.GetHashCode();
            }
            if (LoginUserID != 0UL)
            {
                hash ^= LoginUserID.GetHashCode();
            }
            if (ConnID != 0UL)
            {
                hash ^= ConnID.GetHashCode();
            }
            if (ConnAESKey.Length != 0)
            {
                hash ^= ConnAESKey.GetHashCode();
            }
            if (KeepAliveInterval != 0)
            {
                hash ^= KeepAliveInterval.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
ファイル: Common.cs プロジェクト: robber5/cs-futu-api
        public override int GetHashCode()
        {
            int hash = 1;

            if (ConnID != 0UL)
            {
                hash ^= ConnID.GetHashCode();
            }
            if (SerialNo != 0)
            {
                hash ^= SerialNo.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (ConnID != 0)
            {
                hash ^= ConnID.GetHashCode();
            }
            if (ObjID != 0)
            {
                hash ^= ObjID.GetHashCode();
            }
            if (Chunktype != 0)
            {
                hash ^= Chunktype.GetHashCode();
            }
            if (FixedTimeStamp != 0L)
            {
                hash ^= FixedTimeStamp.GetHashCode();
            }
            if (TickNumber != 0)
            {
                hash ^= TickNumber.GetHashCode();
            }
            if (SendType != 0)
            {
                hash ^= SendType.GetHashCode();
            }
            if (Content.Length != 0)
            {
                hash ^= Content.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }