public EntryExaminationController(ITiMuService tiMuService, IBookWorkTaskService bookWorkTaskService, ISubjectService subjectService, IBookChapterService bookChapterService, IQuestionService questionService, IWorkContext workContext, IBookWorkTaskItemService bookWorkTaskItemService, IKnowledgeService knowledgeService)
 {
     _tiMuService             = tiMuService;
     _bookWorkTaskService     = bookWorkTaskService;
     _subjectService          = subjectService;
     _bookChapterService      = bookChapterService;
     _questionService         = questionService;
     _workContext             = workContext;
     _bookWorkTaskItemService = bookWorkTaskItemService;
     _knowledgeService        = knowledgeService;
 }
 public AddKnowledgeController(
     IKnowledgeService knowledgeService,
     ILoggerFactory loggerFactory,
     IHostingEnvironment env,
     IOptions <AppSettings> settings)
 {
     _knowledgeService = knowledgeService;
     _logger           = loggerFactory.CreateLogger(nameof(AddKnowledgeController));
     _env      = env;
     _settings = settings.Value;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="MarkPropertyController" /> class.
 /// </summary>
 /// <param name="workContext">The work context.</param>
 /// <param name="bookWorkTaskService">The book work task service.</param>
 /// <param name="subjectService">The subject service.</param>
 /// <param name="bookWorkTaskItemService">The book work task item service.</param>
 /// <param name="tiMuService">The ti mu service.</param>
 /// <param name="knowledgeService">The knowledge service.</param>
 /// <param name="bookChapterService">The book chapter service.</param>
 public MarkPropertyController(IWorkContext workContext, IBookWorkTaskService bookWorkTaskService,
                               ISubjectService subjectService, IBookWorkTaskItemService bookWorkTaskItemService,
                               ITiMuService tiMuService, IKnowledgeService knowledgeService, IBookChapterService bookChapterService)
 {
     this._workContext        = workContext;
     _bookWorkTaskService     = bookWorkTaskService;
     _subjectService          = subjectService;
     _bookWorkTaskItemService = bookWorkTaskItemService;
     _tiMuService             = tiMuService;
     _knowledgeService        = knowledgeService;
     _bookChapterService      = bookChapterService;
 }
Exemplo n.º 4
0
 public ResponseService(IRequestDataSet reqService, IKnowledgeService knowService)
 {
     if (reqService == null)
     {
         throw new ArgumentNullException("No data service available");
     }
     dataService = reqService;
     if (knowService == null)
     {
         throw new ArgumentNullException("No knowledge service available");
     }
     knowledgeService = knowService;
 }
Exemplo n.º 5
0
 public SymptomeController(ISendSymptome service, IKnowledgeService knowService)
 {
     if (service == null)
     {
         throw new ArgumentNullException("No data service available");
     }
     dataService = service;
     if (knowService == null)
     {
         throw new ArgumentNullException("No knowledge service available");
     }
     knowledgeService = knowService;
 }
Exemplo n.º 6
0
 public CandidateController(INotificationHandler <DomainNotification> notifications,
                            IPeopleService peopleService, IBestWorkTimeService bwtService,
                            IOccupationService occupationService, IWorkAvailabilityService waService,
                            IDesignerService designerService, IDeveloperService developerService,
                            IKnowledgeService knowledgeService) : base(notifications)
 {
     this.peopleService     = peopleService;
     this.bwtService        = bwtService;
     this.waService         = waService;
     this.occupationService = occupationService;
     this.designerService   = designerService;
     this.developerService  = developerService;
     this.knowledgeService  = knowledgeService;
 }
Exemplo n.º 7
0
 public TiMuService(IDbContext dbContext, IRepository <TiMu> tiMuRepository, IRepository <BookWorkTask> bookWorkTaskRepository, IRepository <TiMuImages> tiMuImagesRepository, IRepository <Input> inputRepository, IRepository <InputChoice> inputChoiceRepository, IRepository <ShushiTrack> shushiTrackRepository, IRepository <TiMuType> tiMuTypeRepository, IRepository <BookChapter> bookChapterRepository, IRepository <BookTiMu> bookTiMuRepository, IRepository <TiMuKnowledge> tiMuKnowledgeRepository, IKnowledgeService knowledgeService, IRepository <BookWorkTaskItem> bookWorkTaskItemRepository)
 {
     _dbContext                  = dbContext;
     _tiMuRepository             = tiMuRepository;
     _bookWorkTaskRepository     = bookWorkTaskRepository;
     _tiMuImagesRepository       = tiMuImagesRepository;
     _inputRepository            = inputRepository;
     _inputChoiceRepository      = inputChoiceRepository;
     _shushiTrackRepository      = shushiTrackRepository;
     _tiMuTypeRepository         = tiMuTypeRepository;
     _bookChapterRepository      = bookChapterRepository;
     _bookTiMuRepository         = bookTiMuRepository;
     _tiMuKnowledgeRepository    = tiMuKnowledgeRepository;
     _knowledgeService           = knowledgeService;
     _bookWorkTaskItemRepository = bookWorkTaskItemRepository;
 }
Exemplo n.º 8
0
 public KnowledgesController(IUnknownService unknownService,
                             IKnowledgeService knowledgeService)
 {
     _knowledgeService = knowledgeService;
     _unknownService   = unknownService;
 }
 public KnowledgeController(IKnowledgeService readerService)
 {
     this.KnowledgeService = readerService;
 }
Exemplo n.º 10
0
 public KnowledgeController(IKnowledgeService iKnowledgeService, IUserInfo iUserInfo, IUnitOfWork unitOfWork)
 {
     _iKnowledgeService = iKnowledgeService;
     _iUserInfo = iUserInfo;
     _unitOfWork = unitOfWork;
 }
Exemplo n.º 11
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="knowledgeService"></param>
 public KnowledgeController(IKnowledgeService knowledgeService)
 {
     _knowledgeService = knowledgeService;
 }
Exemplo n.º 12
0
 public KnowledgeController(IKnowledgeService iKnowledgeService, IUserInfo iUserInfo, IUnitOfWork unitOfWork)
 {
     _iKnowledgeService = iKnowledgeService;
     _iUserInfo         = iUserInfo;
     _unitOfWork        = unitOfWork;
 }
 public KnowledgeController(IOptions <AppSettings> appsettings,
                            IKnowledgeService KnowledgeService)
 {
     this.iKnowledgeService = KnowledgeService;
     this._appSettings      = appsettings.Value;
 }
Exemplo n.º 14
0
 public KnowledgeController(IBookService bookService, IKnowledgeService knowledgeService)
 {
     _bookService      = bookService;
     _knowledgeService = knowledgeService;
 }
Exemplo n.º 15
0
 public KnowledgesController(IKnowledgeService service)
 {
     db = service;
 }
 public KnowledgeController(IKnowledgeService knowledgeService, IBusControl bus, IConfiguration config)
 {
     _knowledgeService = knowledgeService;
     _bus    = bus;
     _config = config;
 }
Exemplo n.º 17
0
 public KnowledgeController(IKnowledgeService knowledgeService, IPaginationService paginationService)
 {
     this.knowledgeService  = knowledgeService;
     this.paginationService = paginationService;
 }
Exemplo n.º 18
0
 /// <summary>
 /// Constructor with relevant service references
 /// </summary>
 /// <param name="service">Required KnowledgeService</param>
 public DataSetService(IKnowledgeService service)
 {
     knowledgeService = service ?? throw new ArgumentNullException("No Knowledge Service available");
 }