public TodoItemTagDBController(IMapper mapper, ITodoItemTagProviderAsync provider, IDataProviderAsync <TagVo> tagProvider, IDataProviderAsync <TodoItemVo> todoItemProvider) { this.provider = provider; this.mapper = mapper; this.tagProvider = tagProvider; this.todoItemProvider = todoItemProvider; }
public async void Schedule(IDataProviderAsync dataProvider, object inputData) { try { var result = await dataProvider.ProvideData(inputData); OnDataReceived(new ProviderRuntimeResult { ProviderName = dataProvider.Name, ProviderStatus = EWorkflowProviderRuntimeStatus.Success, Result = result, }); } catch (DataProviderException exc) { OnDataReceived(new ProviderRuntimeResult { ProviderName = dataProvider.Name, ProviderStatus = EWorkflowProviderRuntimeStatus.Faulted, Details = exc, }); } }
public CategoryDBController(IMapper mapper, IDataProviderAsync <CategoryVo> provider) { this.provider = provider; this.mapper = mapper; }
public TodoItemDBController(IMapper mapper, IDataProviderAsync <TodoItemVo> provider, IDataProviderAsync <CategoryVo> categoryProvider) { this.provider = provider; this.mapper = mapper; this.categoryProvider = categoryProvider; }
public TagDBController(IMapper mapper, IDataProviderAsync <TagVo> provider) { this.provider = provider; this.mapper = mapper; }