コード例 #1
0
ファイル: BlogController.cs プロジェクト: hqt/MathHub
 public BlogController(
     IProblemQueryService problemQueryService,
     ICommentCommandService commentCommandService,
     IProblemCommandService problemCommandService,
     IBlogQueryService blogQueryService,
     IBlogCommandService blogCommandService,
     IAuthenticationService authenticationService)
 {
     this._problemQueryService = problemQueryService;
     this._commentCommandService = commentCommandService;
     this._problemCommandService = problemCommandService;
     this._blogCommandService = blogCommandService;
     this._blogQueryService = blogQueryService;
     this._authenticationService = authenticationService;
 }
コード例 #2
0
 public HomeController(IBlogCommandService blogCommandService)
 {
     this.Blogservice = blogCommandService;
 }
コード例 #3
0
 public BlogController(IBlogReadService blogReadService, IArticleStatiscticService articleStatiscticService, IBlogCommandService blogCommandService)
 {
     this.blogReadService = blogReadService;
     this.articleStatiscticService = articleStatiscticService;
     this.blogCommandService = blogCommandService;
 }
コード例 #4
0
 public BlogController(IBlogReadService blogReadService, IArticleStatiscticService articleStatiscticService, IBlogCommandService blogCommandService)
 {
     this.blogReadService          = blogReadService;
     this.articleStatiscticService = articleStatiscticService;
     this.blogCommandService       = blogCommandService;
 }
コード例 #5
0
 public HomeController(IBlogCommandService blogCommandService)
 {
     this.Blogservice = blogCommandService;
 }