示例#1
0
        public Debitors(string name, double balance, Debt debt)
        {
            _name    = name;
            _balance = balance;
            _debts   = new ObservableCollection <Debt>();

            if (debt != null)
            {
                _debts.Add(debt);
            }
        }
示例#2
0
 // copy constructor
 public Debt(Debt copy)
 {
     _amount      = copy._amount;
     _postname    = copy._postname;
     _lastupdated = copy._lastupdated;
 }