Exemplo n.º 1
0
 protected bool Equals(QnSBillShare.Contracts.Business.App.IBillExpenses other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(Bill, other.Bill) && IsEqualsWith(Expenses, other.Expenses) && TotalExpense == other.TotalExpense && FriendPortion == other.FriendPortion && NumberOfFriends == other.NumberOfFriends && IsEqualsWith(Friends, other.Friends) && IsEqualsWith(FriendAmounts, other.FriendAmounts) && IsEqualsWith(Balances, other.Balances));
 }
Exemplo n.º 2
0
        public void CopyProperties(QnSBillShare.Contracts.Business.App.IBillExpenses other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id              = other.Id;
                Timestamp       = other.Timestamp;
                Bill            = other.Bill;
                Expenses        = other.Expenses;
                TotalExpense    = other.TotalExpense;
                FriendPortion   = other.FriendPortion;
                NumberOfFriends = other.NumberOfFriends;
                Friends         = other.Friends;
                FriendAmounts   = other.FriendAmounts;
                Balances        = other.Balances;
            }
            AfterCopyProperties(other);
        }
Exemplo n.º 3
0
 partial void AfterCopyProperties(QnSBillShare.Contracts.Business.App.IBillExpenses other);
Exemplo n.º 4
0
 partial void BeforeCopyProperties(QnSBillShare.Contracts.Business.App.IBillExpenses other, ref bool handled);