public AsyncDataDemoViewModel(IAsyncDataService asyncDataService, IDialogService dialogService) : base(dialogService)
 {
     if (asyncDataService == null)
     {
         throw new ArgumentNullException(nameof(asyncDataService));
     }
     _asyncDataService = asyncDataService;
 }
Beispiel #2
0
 private async static Task Import(IAsyncDataService source, IAsyncDataService destination,
     IEnumerable<ColumnsMapping> mappings)
 {
     using (var dataReader = await source.GetDataReader("wat$"))
     {
         await destination.ImportData(dataReader, "VITAL", mappings);
     }
 }
 public TodoItemAdminController(
     IAsyncDataService <TodoItemVO> todoItemdataService,
     IAsyncDataService <CategoryVO> categorydataService,
     IAsyncDataService <TagVO> tagdataService,
     IItemTagService itemTagService,
     IMapper mapper)
 {
     _todoItemdataService = todoItemdataService;
     _categorydataService = categorydataService;
     _tagdataService      = tagdataService;
     _itemTagService      = itemTagService;
     _mapper = mapper;
 }
 public CategoryController(IAsyncDataService <CategoryVO> dataService, IMapper mapper)
 {
     _mapper      = mapper;
     _dataService = dataService;
 }
Beispiel #5
0
 public TagController(IAsyncDataService <TagVO> dataService, IMapper mapper)
 {
     _dataService = dataService;
     _mapper      = mapper;
 }