示例#1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TradeId.Length != 0)
            {
                hash ^= TradeId.GetHashCode();
            }
            if (OtherPartyUuid.Length != 0)
            {
                hash ^= OtherPartyUuid.GetHashCode();
            }
            hash ^= items_.GetHashCode();
            hash ^= otherPartyItems_.GetHashCode();
            if (Accepted != false)
            {
                hash ^= Accepted.GetHashCode();
            }
            if (OtherPartyAccepted != false)
            {
                hash ^= OtherPartyAccepted.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Success != false)
            {
                hash ^= Success.GetHashCode();
            }
            if (TradeId.Length != 0)
            {
                hash ^= TradeId.GetHashCode();
            }
            if (OtherPartyUuid.Length != 0)
            {
                hash ^= OtherPartyUuid.GetHashCode();
            }
            if (FailureReason != 0)
            {
                hash ^= FailureReason.GetHashCode();
            }
            if (FailureMessage.Length != 0)
            {
                hash ^= FailureMessage.GetHashCode();
            }
            return(hash);
        }
示例#3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Success != false)
            {
                hash ^= Success.GetHashCode();
            }
            if (TradeId.Length != 0)
            {
                hash ^= TradeId.GetHashCode();
            }
            if (OtherPartyUuid.Length != 0)
            {
                hash ^= OtherPartyUuid.GetHashCode();
            }
            if (FailureReason != global::Trading.TradeFailureReason.SessionId)
            {
                hash ^= FailureReason.GetHashCode();
            }
            if (FailureMessage.Length != 0)
            {
                hash ^= FailureMessage.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
示例#4
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (TradeId.Length != 0)
            {
                hash ^= TradeId.GetHashCode();
            }
            if (OtherPartyUuid.Length != 0)
            {
                hash ^= OtherPartyUuid.GetHashCode();
            }
            if (Success != false)
            {
                hash ^= Success.GetHashCode();
            }
            hash ^= items_.GetHashCode();
            return(hash);
        }