Пример #1
0
 public CourseService(IUnitOfWork unitOfWork, ICourseDomainService courseDomainService, IBusControl busControl, ILogger logger)
 {
     this._unitOfWork          = unitOfWork;
     this._courseDomainService = courseDomainService;
     this._busControl          = busControl;
     this._logger = logger;
 }
 /// <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;
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="DiscussionAppService"/> class.
 /// </summary>
 /// <param name="objectMapperAdapter">The object mapper adapter.</param>
 /// <param name="cacheAdapter">The cache adapter.</param>
 /// <param name="exceptionManagerAdapter">The exception manager adapter.</param>
 /// <param name="loggingServiceAdapter">The logging service adapter.</param>
 /// <param name="discussionDomainService">The discussion domain service.</param>
 /// <param name="topicDomainService">The topic domain service.</param>
 /// <param name="topicPostDomainService">The topic post domain service.</param>
 public DiscussionAppService(IObjectMapperAdapter objectMapperAdapter, ICacheAdapter cacheAdapter,
                             IExceptionManagerAdapter exceptionManagerAdapter, ILoggingServiceAdapter loggingServiceAdapter,
                             IDiscussionDomainService discussionDomainService, ITopicDomainService topicDomainService,
                             ITopicPostDomainService topicPostDomainService,
                             ICourseDomainService courseDomainService)
     : base(objectMapperAdapter, cacheAdapter, exceptionManagerAdapter, loggingServiceAdapter)
 {
     DiscussionManager = discussionDomainService;
     TopicManager      = topicDomainService;
     PostManager       = topicPostDomainService;
     CourseManager     = courseDomainService;
 }
Пример #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;
 }
Пример #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;
 }