Beispiel #1
0
 private static string GetFormattedLine(Transaction transaction, Money balance)
 {
     return string.Format("| {0} | {1} | {2}",
         FormattedDate(transaction.Date),
         transaction.Money.FormattedAmount(),
         balance.FormattedAmount());
 }
Beispiel #2
0
 protected bool Equals(Transaction other)
 {
     return Date.Equals(other.Date) && Equals(Money, other.Money);
 }
 public void Add(Transaction transaction)
 {
     _Transactions.Add(transaction);
 }