Exemplo n.º 1
0
 public bool Equals(Transaction other)
 {
     return EffectiveDate == other.EffectiveDate
         && Description   == other.Description
         && Amount        == other.Amount
         && IsPending     == other.IsPending;
 }
Exemplo n.º 2
0
 bool AlreadyExists(IEnumerable<Transaction> list, Transaction transaction)
 {
     return list.Any(y => y.Equals(transaction));
 }
Exemplo n.º 3
0
 private void DetachTransactions(Transaction entity)
 {
     FirePropertyChanging();
     entity.Account = null;
 }
Exemplo n.º 4
0
 bool IsInternal(Transaction trans)
 {
     var match = Regex.Match(trans.Description, @"Transfer (from|to) xx(?<digits>\d+) NetBank");
     return match.Success;
 }
Exemplo n.º 5
0
 private void AttachTransactions(Transaction entity)
 {
     FirePropertyChanging();
     entity.Account = this;
 }