コード例 #1
0
ファイル: ProblemController.cs プロジェクト: junlistar/Exam
 public ProblemController(IProblemService ProblemService,
                          IProblemCategoryService ProblemCategoryService,
                          IBelongService BelongService,
                          IChapterService ChapterService, ISubjectInfoService SubjectInfoService,
                          IProblemLibraryService ProblemLibraryService,
                          IAnswerService AnswerService,
                          IGrabTopicService grabTopic,
                          IExamClassService examClassService,
                          IExamProblemService examProblemService,
                          IExamAnswerService examAnswerService,
                          IImageInfoService imageInfoService)
 {
     _ProblemService         = ProblemService;
     _ProblemCategoryService = ProblemCategoryService;
     _BelongService          = BelongService;
     _ChapterService         = ChapterService;
     _SubjectInfoService     = SubjectInfoService;
     _ProblemLibraryService  = ProblemLibraryService;
     _AnswerService          = AnswerService;
     _grabTopic          = grabTopic;
     _examClassService   = examClassService;
     _examProblemService = examProblemService;
     _examAnswerService  = examAnswerService;
     _imageInfoService   = imageInfoService;
 }
コード例 #2
0
ファイル: QuestionController.cs プロジェクト: junlistar/Exam
        //方式2

        public QuestionController(IQuestionService qeustionService, IReplyService replyService,
                                  ISysGroupService sysGroupService,
                                  IImageInfoService imageInfoService)
        {
            _qeustionService = qeustionService;
            _replyService    = replyService;
        }
コード例 #3
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="unitOfWork"></param>
 /// <param name="imageService"></param>
 /// <param name="articleThumbsUpService"></param>
 public ArticleInfoService(IUnitOfWork unitOfWork,
                           IImageInfoService imageService,
                           IArticleThumbsUpService articleThumbsUpService)
     : base("CAAdmin")
 {
     _imageService           = imageService;
     _articleThumbsUpService = articleThumbsUpService;
 }
コード例 #4
0
        //方式2

        public VideoController(IVideoService videoService, IReplyService replyService,
                               IImageInfoService imageInfoService, IBelongService belongService, IVideoClassService videoClassService)
        {
            _videoService      = videoService;
            _imageService      = imageInfoService;
            _belongService     = belongService;
            _videoClassService = videoClassService;
        }
コード例 #5
0
 public UserInfoController(IUserInfoService userService, IGradeService gradeService,
                           ISysGroupService sysGroupService,
                           IImageInfoService imageInfoService)
 {
     _userService      = userService;
     _gradeService     = gradeService;
     _sysGroupService  = sysGroupService;
     _imageInfoService = imageInfoService;
 }
コード例 #6
0
 public ArticleInfoService(IUnitOfWork unitOfWork,
                           IImageInfoService imageService,
                           IArticleThumbsUpService articleThumbsUpService, ICacheManager cacheManager)
     : base("CAAdmin")
 {
     _imageService           = imageService;
     _articleThumbsUpService = articleThumbsUpService;
     _cacheManager           = cacheManager;
 }
コード例 #7
0
ファイル: NewsInfoController.cs プロジェクト: junlistar/Exam
 public NewsInfoController(INewsInfoService NewsInfoService, IImageInfoService imageInfoService, INewsCategoryService newsCategoryService)
 {
     _newsInfoService     = NewsInfoService;
     _newsCategoryService = newsCategoryService;
     _imageInfoService    = imageInfoService;
 }
コード例 #8
0
ファイル: AdManageController.cs プロジェクト: junlistar/Exam
 public AdManageController(IAdvertisementService AdvertisementService,
                           IImageInfoService imageInfoService)
 {
     _AdvertisementService = AdvertisementService;
     _imageInfoService     = imageInfoService;
 }
コード例 #9
0
        //方式2

        public VideoClassController(IVideoClassService videoClassService,
                                    IImageInfoService imageInfoService)
        {
            _videoClassService = videoClassService;
            _imageInfoService  = imageInfoService;
        }
コード例 #10
0
 public UploaderController(IImageInfoService baseImgInfoService)
 {
     _baseImgInfoService = baseImgInfoService;
 }
コード例 #11
0
 public LecturerController(ILecturerService LecturerService, IImageInfoService imageInfoService)
 {
     _LecturerService  = LecturerService;
     _imageInfoService = imageInfoService;
 }
コード例 #12
0
 public ImageInfoController(IImageInfoService imageInfoService)
 {
     this.imageInfoService = imageInfoService;
 }