예제 #1
0
 public ArticlesController(UserManager <User> userManager, IUserService users, IBlogArticleService articles, IHtmlService html)
 {
     this.userManager = userManager;
     this.users       = users;
     this.articles    = articles;
     this.html        = html;
 }
예제 #2
0
 public ArticlesController(
     UserManager <User> userManager,
     IBlogArticleService blog)
 {
     this.userManager = userManager;
     this.blog        = blog;
 }
예제 #3
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="blogArticle"></param>
 /// <param name="loggerHelper"></param>
 public BlogArticleController(IBlogArticleService blogArticle, ICategoryService categoryService, ILoggerHelper loggerHelper, IMapper mapper)
 {
     this.blogArticleService = blogArticle;
     this.categoryService    = categoryService;
     this.loggerHelper       = loggerHelper;
     this.mapper             = mapper;
 }
 public ArticlesController(IHtmlService htmlService, IBlogArticleService articleService, UserManager <User> userManager, ICommentService commentService)
 {
     this.htmlService    = htmlService;
     this.articleService = articleService;
     this.userManager    = userManager;
     this.commentService = commentService;
 }
 public HomeController(IStudentCourseInstancesService studentCourseInstancesService,
                       IStudentsService studentsService,
                       IBlogArticleService blogArticleService)
 {
     this.studentCourseInstancesService = studentCourseInstancesService;
     this.studentsService    = studentsService;
     this.blogArticleService = blogArticleService;
 }
예제 #6
0
 public HomeController(
     UserManager <User> userManager,
     IBlogArticleService articles, IForexServices currences)
 {
     _userManager   = userManager;
     this.articles  = articles;
     this.currences = currences;
 }
예제 #7
0
 /// <summary>
 /// 构造函数
 /// </summary>
 /// <param name="blogArticleService"></param>
 /// <param name="redisCacheManager"></param>
 public BlogController(IBlogArticleService blogArticleService,
                       IRedisCacheManager redisCacheManager,
                       IHostingEnvironment env)
 {
     _env = env;
     _blogArticleService = blogArticleService;
     _redisCacheManager  = redisCacheManager;
 }
예제 #8
0
 public HomeController(IBlogUserService blogUserService, IBlogArticleService blogArticleService, ISBearVisitorLogService iSBearVisitorLogService, IBlogArticleTypeService blogArticleTypeService, IMemoryCache memoryCache)
 {
     _blogArticleService      = blogArticleService;
     _blogUserService         = blogUserService;
     _iSBearVisitorLogService = iSBearVisitorLogService;
     _blogArticleTypeService  = blogArticleTypeService;
     _cache = memoryCache;
 }
 public ArticlesController(
     IHtmlService html,
     IBlogArticleService articles,
     UserManager <User> userManager)
 {
     this.html        = html;
     this.articles    = articles;
     this.userManager = userManager;
 }
예제 #10
0
 public ArticlesController(IBlogArticleService articleService,
                           ILogService logService,
                           UserManager <User> userManager,
                           IHtmlService htmlService)
 {
     this.articleService = articleService;
     this.logService     = logService;
     this.userManager    = userManager;
     this.htmlService    = htmlService;
 }
예제 #11
0
 public HomeController(IBlogArticleService blogArticleService,
                       IAdminCourseInstancesService courseInstancesService)
 {
     this.blogArticleService     = blogArticleService;
     this.courseInstancesService = courseInstancesService;
 }
예제 #12
0
 public WriteArticleController(IBlogUserService blogUserService, IBlogArticleService blogArticleService, IBlogArticleTypeService blogArticleTypeService)
 {
     _blogArticleService     = blogArticleService;
     _blogUserService        = blogUserService;
     _blogArticleTypeService = blogArticleTypeService;
 }
예제 #13
0
 public BlogDetailController(IBlogArticleService blogArticleService,
                             IBlogCommentService blogCommentService)
 {
     this._blogArticleService = blogArticleService;
     this._blogCommentService = blogCommentService;
 }
 public ArticlesController(IBlogArticleService articles, IHtmlService htmlSanitizer, UserManager <User> userManager)
 {
     this.articles      = articles;
     this.htmlSanitizer = htmlSanitizer;
     this.userManager   = userManager;
 }
예제 #15
0
 public HomeController(IBlogArticleService BlogArticleServive)
 {
     this.BlogArticleServive = BlogArticleServive;
 }
예제 #16
0
 /// <summary>
 ///     Контроллер.
 /// </summary>
 /// <param name="articleService"></param>
 public BlogArticlesController(IBlogArticleService blogArticleService)
 {
     _blogArticleService = blogArticleService;
 }
예제 #17
0
 public HomeController(IBlogArticleService blogArticleService)
 {
     this.blogArticleService = blogArticleService;
 }
예제 #18
0
 public ArticlesController(IHtmlService html, UserManager <User> users, IBlogArticleService articles)
 {
     this._html     = html;
     this._articles = articles;
     this._users    = users;
 }
예제 #19
0
 public HomeController(IHtmlSanitizerService html, IBlogArticleService blogArticle, UserManager <User> userManager)
 {
     this.html        = html;
     this.blogArticle = blogArticle;
     this.userManager = userManager;
 }
예제 #20
0
 public HomeController(IUserService userService, ICourseService courseService, IBlogArticleService articleService)
 {
     this.userService    = userService;
     this.courseService  = courseService;
     this.articleService = articleService;
 }
예제 #21
0
 public BlogController(IBlogArticleService service)
 {
     this.service = service;
 }
예제 #22
0
 public ArticlesController(IBlogArticleService blogArticleService,
                           IHtmlService htmlService)
 {
     this.blogArticleService = blogArticleService;
     this.htmlService        = htmlService;
 }
예제 #23
0
 //构造器注入
 public BlogController(IBlogArticleService blogArticleService)
 {
     this._blogArticleService = blogArticleService;
 }
 public ArticlesController(
     UserManager <User> userManager, IBlogArticleService articles)
 {
     this.userManager = userManager;
     this.articles    = articles;
 }