Наследование: IFieldTypes
Пример #1
0
 public Accounts(IDatastore dataStore)
 {
     _dataStore = dataStore;
     _providers = new Providers();
     _fieldTypes = new FieldTypes();
     foreach (var accountDto in dataStore.GetAccountDtos()) {
         var account = new Account(_fieldTypes);
         account.Load(accountDto);
         _accounts.Add(account);
     }
 }
Пример #2
0
 public Accounts(IDatastore dataStore)
 {
     _dataStore  = dataStore;
     _providers  = new Providers();
     _fieldTypes = new FieldTypes();
     foreach (var accountDto in dataStore.GetAccountDtos())
     {
         var account = new Account(_fieldTypes);
         account.Load(accountDto);
         _accounts.Add(account);
     }
 }