예제 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MsgType.Length != 0)
            {
                hash ^= MsgType.GetHashCode();
            }
            if (AccountStatusRequestId.Length != 0)
            {
                hash ^= AccountStatusRequestId.GetHashCode();
            }
            if (MarginReqmtRptType.Length != 0)
            {
                hash ^= MarginReqmtRptType.GetHashCode();
            }
            if (Account != 0UL)
            {
                hash ^= Account.GetHashCode();
            }
            hash ^= marginAmounts_.GetHashCode();
            if (RejectReason.Length != 0)
            {
                hash ^= RejectReason.GetHashCode();
            }
            if (Text.Length != 0)
            {
                hash ^= Text.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
        public override int GetHashCode()
        {
            int hash = 1;

            if (MsgType.Length != 0)
            {
                hash ^= MsgType.GetHashCode();
            }
            if (DeviceId.Length != 0)
            {
                hash ^= DeviceId.GetHashCode();
            }
            if (ModuleId.Length != 0)
            {
                hash ^= ModuleId.GetHashCode();
            }
            if (Id != 0L)
            {
                hash ^= Id.GetHashCode();
            }
            if (HeartbeatCreatedTicksUtc != 0L)
            {
                hash ^= HeartbeatCreatedTicksUtc.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #3
0
파일: Msg.cs 프로젝트: musickhz/dotanet
        public override int GetHashCode()
        {
            int hash = 1;

            if (ModeType.Length != 0)
            {
                hash ^= ModeType.GetHashCode();
            }
            if (Uid != 0)
            {
                hash ^= Uid.GetHashCode();
            }
            if (MsgType.Length != 0)
            {
                hash ^= MsgType.GetHashCode();
            }
            if (ConnectId != 0)
            {
                hash ^= ConnectId.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #4
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (MsgType != global::messageTypes.GetOnlineUsers)
        {
            hash ^= MsgType.GetHashCode();
        }
        if (Message.Length != 0)
        {
            hash ^= Message.GetHashCode();
        }
        if (Cnt != 0)
        {
            hash ^= Cnt.GetHashCode();
        }
        hash ^= users_.GetHashCode();
        if (SelfconnetionId.Length != 0)
        {
            hash ^= SelfconnetionId.GetHashCode();
        }
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
예제 #5
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (MsgType != 0)
        {
            hash ^= MsgType.GetHashCode();
        }
        if (Msg.Length != 0)
        {
            hash ^= Msg.GetHashCode();
        }
        return(hash);
    }
예제 #6
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (MsgType.Length != 0)
            {
                hash ^= MsgType.GetHashCode();
            }
            if (HeartBtInt != 0)
            {
                hash ^= HeartBtInt.GetHashCode();
            }
            if (RejectText.Length != 0)
            {
                hash ^= RejectText.GetHashCode();
            }
            hash ^= account_.GetHashCode();
            if (SendingTime != 0L)
            {
                hash ^= SendingTime.GetHashCode();
            }
            if (CstmApplVerId.Length != 0)
            {
                hash ^= CstmApplVerId.GetHashCode();
            }
            if (Username.Length != 0)
            {
                hash ^= Username.GetHashCode();
            }
            if (Password.Length != 0)
            {
                hash ^= Password.GetHashCode();
            }
            if (RawData.Length != 0)
            {
                hash ^= RawData.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #7
0
    public override int GetHashCode()
    {
        int hash = 1;

        if (MsgType != 0)
        {
            hash ^= MsgType.GetHashCode();
        }
        if (SocketId != 0)
        {
            hash ^= SocketId.GetHashCode();
        }
        hash ^= robotData_.GetHashCode();
        if (_unknownFields != null)
        {
            hash ^= _unknownFields.GetHashCode();
        }
        return(hash);
    }
예제 #8
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (From.Length != 0)
            {
                hash ^= From.GetHashCode();
            }
            if (MsgType != 0)
            {
                hash ^= MsgType.GetHashCode();
            }
            if (MsgData.Length != 0)
            {
                hash ^= MsgData.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }