/// <summary>
 /// Initializes a new instance of the <see cref="CourseModuleAppService"/> class.
 /// </summary>
 /// <param name="courseManager">The course manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 /// <param name="cacheService">The cache service.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public CourseModuleAppService(
     ICourseDomainService courseManager,
     IModuleDomainService moduleManager,
     IModuleQuizDomainService moduleQuizManager,
     IDepartmentDomainService departmentManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService,
     ICourseRegistrationDomainService courseRegistrationManager,
     IQuizDomainService quizManager,
     IAssignmentDomainService assignmentManager,
     ISubmissionDomainService submissionManager,
     IStudentDomainService studentManager)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.CourseManager             = courseManager;
     this.ModuleManager             = moduleManager;
     this.DepartmentManager         = departmentManager;
     this.CourseRegistrationManager = courseRegistrationManager;
     this.QuizManager       = quizManager;
     this.AssignmentManager = assignmentManager;
     this.SubmissionManager = submissionManager;
     this.StudentManager    = studentManager;
 }
Ejemplo n.º 2
0
 public LoginAppService(
     ICapPublisher publisher,
     IOptionsSnapshot <AppSettings> appSettingsOptions, IUserDomainService userDomainService,
     IModuleDomainService moduleDomainService)
 {
     _appSettings         = appSettingsOptions.Value; //IOptionsSnapshot动态获取配置
     _publisher           = publisher;
     _userDomainService   = userDomainService;
     _moduleDomainService = moduleDomainService;
 }
Ejemplo n.º 3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QuestionAppService"/> class.
 /// </summary>
 /// <param name="questionManager">The staff manager.</param>
 ///  <param name="moduleManager">The module manager.</param>
 /// <param name="questionChoicesManager">The questionchoices mapper.</param>
 ///  <param name="objectMapper">The object mapper.</param>
 ///   <param name="cacheService">The cache servide.</param>
 ///   <param name="exceptionManager">The exception manager.</param>
 ///   <param name="loggingService">The loggin manager.</param>
 public QuestionAppService(
     IQuestionDomainService questionManager,
     IModuleDomainService moduleManager,
     IQuestionChoiceDomainService questionChoicesManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.QuestionManager        = questionManager;
     this.ModuleManager          = moduleManager;
     this.QuestionChoicesManager = questionChoicesManager;
 }
Ejemplo n.º 4
0
 /// <summary>
 /// Initializes a new instance of the <see cref="UnitModuleAppService"/> class.
 /// </summary>
 /// <param name="unitManager">The unit manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 /// <param name="cacheService">The cache service.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public UnitModuleAppService(
     IUnitDomainService unitManager,
     IModuleDomainService moduleManager,
     ICourseDomainService courseManager,
     IVideoDomainService videoManager,
     IFileDomainService fileManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService,
     IQuizAppService quizAppService, ICourseModuleAppService courseModuleAppService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.UnitManager            = unitManager;
     this.ModuleManager          = moduleManager;
     this.CourseManager          = courseManager;
     this.VideoManager           = videoManager;
     this.FileManager            = fileManager;
     this._quizAppService        = quizAppService;
     this.CourseModuleAppService = courseModuleAppService;
 }
Ejemplo n.º 5
0
 /// <summary>
 /// Initializes a new instance of the <see cref="AssignmentTaskSubmissionAppService"/> class.
 /// </summary>
 /// <param name="assignmentManager">The assignment manager.</param>
 /// <param name="taskManager">The task manager.</param>
 /// <param name="submissionManager">The submission manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 /// <param name="cacheService">The cache service.</param>
 /// <param name="exceptionManager">The exception manager.</param>
 /// <param name="loggingService">The logging service.</param>
 public AssignmentTaskSubmissionAppService(
     IAssignmentDomainService assignmentManager,
     ICourseDomainService courseManager,
     IModuleDomainService moduleManager,
     IUnitDomainService unitManager,
     ITaskDomainService taskManager,
     IMessageDomainService messageManager,
     ISubmissionDomainService submissionManager,
     IFileDomainService fileManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.AssignmentManager = assignmentManager;
     this.TaskManager       = taskManager;
     this.SubmissionManager = submissionManager;
     this.FileManager       = fileManager;
     this.CourseManager     = courseManager;
     this.ModuleManager     = moduleManager;
     this.UnitManager       = unitManager;
     this.MessageManager    = messageManager;
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Initializes a new instance of the <see cref="QuizAppService"/> class.
 /// </summary>
 /// <param name="staffManager">The staff manager.</param>
 /// <param name="objectMapper">The object mapper.</param>
 public QuizAppService(
     IQuizDomainService quizManager,
     IModuleDomainService moduleManager,
     IModuleQuizDomainService moduleQuizManager,
     IQuizEntryDomainService quizentryManager,
     IAnswerDomainService answerManager,
     IAnswerQuestionChoiceDomainService answerQuestionChoiceManager,
     IQuestionChoiceDomainService questionChoiceManager,
     IQuestionDomainService questionManager,
     IObjectMapperAdapter objectMapper,
     ICacheAdapter cacheService,
     IExceptionManagerAdapter exceptionManager,
     ILoggingServiceAdapter loggingService)
     : base(objectMapper, cacheService, exceptionManager, loggingService)
 {
     this.QuizManager                 = quizManager;
     this.ModuleManager               = moduleManager;
     this.QuizEntryManager            = quizentryManager;
     this.AnswerManager               = answerManager;
     this.AnswerQuestionChoiceManager = answerQuestionChoiceManager;
     this.QuestionChoiceManager       = questionChoiceManager;
     this.QuestionManager             = questionManager;
     this.ModuleQuizManager           = moduleQuizManager;
 }
Ejemplo n.º 7
0
 public ModuleService(IModuleAppService moduleAppService, IModuleDomainService moduleDomainService)
 {
     _moduleAppService    = moduleAppService;
     _moduleDomainService = moduleDomainService;
     _applicationEnginee  = new ApplicationEnginee();
 }
Ejemplo n.º 8
0
 public ModuleAppService(IModuleRepository moduleRep, IModuleDomainService moduleDomainService)
 {
     _moduleRep           = moduleRep;
     _moduleDomainService = moduleDomainService;
 }