コード例 #1
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public BaseClassroomController(
			BaseControllerArgs args,
			IClassroomService classroomService)
				: base(args)
		{
			ClassroomService = classroomService;
		}
コード例 #2
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public AdminController(
			BaseControllerArgs args,
			IClassroomService classroomService,
			IUserService userService)
				: base(args, classroomService)
		{
			UserService = userService;
		}
コード例 #3
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public QuestionCategoryController(
			BaseControllerArgs args,
			IClassroomService classroomService, 
			IQuestionCategoryService questionCategoryService) 
				: base(args, classroomService)
		{
			QuestionCategoryService = questionCategoryService;
		}
コード例 #4
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public BaseSectionController(
			BaseControllerArgs args, 
			IClassroomService classroomService,
			ISectionService sectionService) 
				: base(args, classroomService)
		{
			SectionService = sectionService;
		}
コード例 #5
0
        public ClassroomController(IClassroomService classroomService
			, IExcelService excelService
			, IClassroomTypeService classroomTypeService)
        {
            _classroomService = classroomService;
            _excelService = excelService;
            _classroomTypeService = classroomTypeService;
        }
コード例 #6
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public BaseProjectController(
			BaseControllerArgs args, 
			IClassroomService classroomService,
			IProjectService projectService) 
				: base(args, classroomService)
		{
			ProjectService = projectService;
		}
コード例 #7
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public StudentController(
			BaseControllerArgs args,
			IClassroomService classroomService,
			ISectionService sectionService,
			IUserService userService)
			: base(args, classroomService, sectionService)
		{
			UserService = userService;
		}
コード例 #8
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public ClassroomController(
			BaseControllerArgs args, 
			IClassroomService classroomService,
			IUserService userService) 
				: base(args)
		{
			ClassroomService = classroomService;
			UserService = userService;
		}
コード例 #9
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public BaseCheckpointController(
			BaseControllerArgs args, 
			IClassroomService classroomService,
			IProjectService projectService,
			ICheckpointService checkpointService) 
				: base(args, classroomService, projectService)
		{
			CheckpointService = checkpointService;
		}
コード例 #10
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public CheckpointController(
			BaseControllerArgs args,
			IClassroomService classroomService,
			ISectionService sectionService,
			IProjectService projectService,
			ICheckpointService checkpointService)
				: base(args, classroomService, projectService)
		{
			SectionService = sectionService;
			CheckpointService = checkpointService;
		}
コード例 #11
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public AssignmentController(
			BaseControllerArgs args,
			IClassroomService classroomService,
			IAssignmentService assignmentService,
			ISectionService sectionService,
			IQuestionService questionService,
			IUserService userService)
				: base(args, classroomService)
		{
			AssignmentService = assignmentService;
			SectionService = sectionService;
			QuestionService = questionService;
			UserService = userService;
		}
コード例 #12
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public UserController(
			BaseControllerArgs args,
			IIdentityProvider identityProvider,
			IUserService userService, 
			IClassroomService classroomService, 
			ISectionService sectionService,
			WebAppHost webAppHost) 
				: base(args)
		{
			_userService = userService;
			_identityProvider = identityProvider;
			_classroomService = classroomService;
			_sectionService = sectionService;
			_webAppHost = webAppHost;
		}
コード例 #13
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public SubmissionController(
			BaseControllerArgs args,
			IClassroomService classroomService,
			IProjectService projectService,
			ICheckpointService checkpointService,
			ISubmissionService submissionService,
			IUserService userService,
			WebAppHost webAppHost,
			WebAppEmail webAppEmail)
			: base(args, classroomService, projectService, checkpointService)
		{
			SubmissionService = submissionService;
			UserService = userService;
			_webAppHost = webAppHost;
			_webAppEmail = webAppEmail;
		}
コード例 #14
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public ProjectController(
			BaseControllerArgs args,
			IClassroomService classroomService,
			ISectionService sectionService,
			IProjectService projectService,
			IBuildService buildService,
			IJsonSerializer jsonSerializer,
			WebAppHost webAppHost)
				: base(args, classroomService)
		{
			SectionService = sectionService;
			ProjectService = projectService;
			BuildService = buildService;
			_jsonSerializer = jsonSerializer;
			_webAppHost = webAppHost;
		}
コード例 #15
0
		/// <summary>
		/// Constructor.
		/// </summary>
		public BuildController(
			BaseControllerArgs args,
			IClassroomService classroomService,
			ISectionService sectionService,
			IProjectService projectService,
			IBuildService buildService,
			ICheckpointService checkpointService,
			ISubmissionService submissionService,
			IJsonSerializer jsonSerializer)
				: base(args, classroomService, projectService)
		{
			SectionService = sectionService;
			BuildService = buildService;
			CheckpointService = checkpointService;
			SubmissionService = submissionService;
			_jsonSerializer = jsonSerializer;
		}