private ObservableCollection <string> FillListWithDateBalanceInCurrencies(MoneyBagWithTotal balance, DateTime date, string caption) { var content = new List <string>(); content.Add(caption); content.Add(""); content.AddRange(MoneyBagToListOfStrings(balance.MoneyBag, date)); content.Add(""); content.Add($"Итого {balance.TotalInUsd:#,0} usd"); return(new ObservableCollection <string>(content)); }
public ExtendedBalance() { Common = new MoneyBagWithTotal(); OnHands = new MoneyBagWithTotal(); OnDeposits = new MoneyBagWithTotal(); }