Пример #1
0
 private static IEnumerable <IValueObjectCollection <Money> > GetBaseValueObjectCollectionList()
 {
     return
         (new List <IValueObjectCollection <Money> > {
         MoneyListInit.GetMoneyList1(),
         MoneyListInit.GetMoneyList2(),
     });
 }
Пример #2
0
        private static IEnumerable <AccountInfo> GetBaseAccountInfoList()
        {
            var moneyCollection = MoneyListInit.GetMoneyList1();

            return(new List <AccountInfo>()
            {
                new AccountInfo(moneyCollection.ElementAt(0), new ValueObjectCollection <Money>(moneyCollection).Take(4)),
                new AccountInfo(moneyCollection.ElementAt(4), new ValueObjectCollection <Money>(moneyCollection.Skip(4).Take(4)))
            });
        }