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

            if (postedTime_ != null)
            {
                hash ^= PostedTime.GetHashCode();
            }
            if (Narration.Length != 0)
            {
                hash ^= Narration.GetHashCode();
            }
            hash ^= lines_.GetHashCode();
            if (assignedGuest_ != null)
            {
                hash ^= AssignedGuest.GetHashCode();
            }
            if (EnteredByUserId.Length != 0)
            {
                hash ^= EnteredByUserId.GetHashCode();
            }
            if (IsManualEntry != false)
            {
                hash ^= IsManualEntry.GetHashCode();
            }
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (postedTime_ != null)
            {
                hash ^= PostedTime.GetHashCode();
            }
            if (Narration.Length != 0)
            {
                hash ^= Narration.GetHashCode();
            }
            hash ^= lines_.GetHashCode();
            if (id_ != null)
            {
                hash ^= Id.GetHashCode();
            }
            if (WasManuallyEntered != false)
            {
                hash ^= WasManuallyEntered.GetHashCode();
            }
            if (enteredBy_ != null)
            {
                hash ^= EnteredBy.GetHashCode();
            }
            return(hash);
        }
コード例 #3
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (Description.Length != 0)
            {
                hash ^= Description.GetHashCode();
            }
            if (preTaxFeeSubtotal_ != null)
            {
                hash ^= PreTaxFeeSubtotal.GetHashCode();
            }
            hash ^= taxesFees_.GetHashCode();
            if (postedTime_ != null)
            {
                hash ^= PostedTime.GetHashCode();
            }
            hash ^= taxes_.GetHashCode();
            hash ^= fees_.GetHashCode();
            if (parentLine_ != null)
            {
                hash ^= ParentLine.GetHashCode();
            }
            hash ^= folioSwaps_.GetHashCode();
            return(hash);
        }