コード例 #1
0
 protected bool Equals(QnSBillShare.Contracts.Modules.BillExpense.IBalance other)
 {
     if (other == null)
     {
         return(false);
     }
     return(IsEqualsWith(From, other.From) && IsEqualsWith(To, other.To) && Amount == other.Amount);
 }
コード例 #2
0
        public void CopyProperties(QnSBillShare.Contracts.Modules.BillExpense.IBalance other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                From   = other.From;
                To     = other.To;
                Amount = other.Amount;
            }
            AfterCopyProperties(other);
        }
コード例 #3
0
 partial void AfterCopyProperties(QnSBillShare.Contracts.Modules.BillExpense.IBalance other);
コード例 #4
0
 partial void BeforeCopyProperties(QnSBillShare.Contracts.Modules.BillExpense.IBalance other, ref bool handled);