コード例 #1
0
 public PostCategoryController(ICommonLanguageService commonLanguageService,
                               IPostCategoryService postCategoryService,
                               IPostCategoryDetailService postCategoryDetailService,
                               ISelectListService selectListService
                               )
 {
     _commonLanguageService     = commonLanguageService;
     _postCategoryService       = postCategoryService;
     _postCategoryDetailService = postCategoryDetailService;
     _selectListService         = selectListService;
 }
コード例 #2
0
 public PostController(IPostService postService,
                       ICommonLanguageService commonLanguageService,
                       IPostCategoryService postCategoryService,
                       IUserService userService,
                       ISelectListService selectListService,
                       IFileStreamService fileStreamService,
                       IOptions <CommonSettings> commonSettingsOptions,
                       IAQFileProvider aQFileProvider
                       )
 {
     _postService           = postService;
     _commonLanguageService = commonLanguageService;
     _postCategoryService   = postCategoryService;
     _userService           = userService;
     _selectListService     = selectListService;
     _fileStreamService     = fileStreamService;
     _commonSettings        = commonSettingsOptions.Value;
     _aQFileProvider        = aQFileProvider;
 }
コード例 #3
0
 public SelectListService(IPostCategoryService postCategoryService, ICommonLanguageService commonLanguageService) : base()
 {
     _postCategoryService   = postCategoryService;
     _commonLanguageService = commonLanguageService;
 }