Пример #1
0
 public static MoneyBag MoneyBagForTag(this TranWithTags tran, Account tag, Period period)
 {
     return(period.ContainsButTimeNotChecking(tran.Timestamp) ? MoneyBagForTag(tran, tag) : null);
 }
Пример #2
0
 public static decimal AmountForTag(this TranWithTags tran, Account tag, CurrencyCodes?currency, Period period)
 {
     return(period.ContainsButTimeNotChecking(tran.Timestamp) ? AmountForAccount(tran, tag, currency) : 0);
 }