public override int GetHashCode()
        {
            int hash = 1;

            if (OwnerCardId.Length != 0)
            {
                hash ^= OwnerCardId.GetHashCode();
            }
            if (RecipientCardId.Length != 0)
            {
                hash ^= RecipientCardId.GetHashCode();
            }
            if (TransactionSumm != 0)
            {
                hash ^= TransactionSumm.GetHashCode();
            }
            if (Ccy.Length != 0)
            {
                hash ^= Ccy.GetHashCode();
            }
            if (AditionalComment.Length != 0)
            {
                hash ^= AditionalComment.GetHashCode();
            }
            if (TransactionType != global::TransactionAgent.TypeTransaction.Payment)
            {
                hash ^= TransactionType.GetHashCode();
            }
            if (_unknownFields != null)
            {
                hash ^= _unknownFields.GetHashCode();
            }
            return(hash);
        }
예제 #2
0
파일: Currency.cs 프로젝트: mpvyard/qwack
 public override int GetHashCode() => Ccy.GetHashCode();