コード例 #1
0
 public CommentAppService_Tests()
 {
     _commentAppService = GetRequiredService <ICommentAppService>();
     _commentRepository = GetRequiredService <ICommentRepository>();
     _postRepository    = GetRequiredService <IPostRepository>();
     _blogRepository    = GetRequiredService <IBlogRepository>();
 }
コード例 #2
0
 public PostageController(IPostageAppService postageAppService,
                          ICommentAppService commentAppService,
                          ILikesAppService likesAppService)
 {
     _postageAppService = postageAppService;
     _commentAppService = commentAppService;
     _likesAppService   = likesAppService;
 }
コード例 #3
0
 public CommentController(ICommentAppService commentAppService, IAsyncRepository <Comment> commentRepository,
                          IAsyncRepository <CommunityUser> communityUserRepository, IAsyncRepository <Post> postRepository,
                          IAsyncRepository <ModeratorOperation> operationRepository)
 {
     _commentAppService       = commentAppService;
     _commentRepository       = commentRepository;
     _communityUserRepository = communityUserRepository;
     _operationRepository     = operationRepository;
     _postRepository          = postRepository;
 }
コード例 #4
0
        /// <summary>
        /// Initializes a new instance of the <see cref="TouristSpotController"/> class.
        ///     Contrutor padrão do TouristSpotController.
        /// </summary>
        /// <param name="appService">Application de serviço</param>
        /// <param name="loggerFactory">Factory de gerenciamento de logs</param>
        public TouristSpotController(
            ITouristSpotAppService appService,
            ICommentAppService commentAppService,
            IFavoriteAppService favoriteAppService,
            IPictureAppService pictureAppService,
            IVoteAppService voteAppService,
            ILoggerFactory loggerFactory)
            : base(appService)
        {
            this.appService         = appService;
            this.commentAppService  = commentAppService;
            this.favoriteAppService = favoriteAppService;
            this.pictureAppService  = pictureAppService;
            this.voteAppService     = voteAppService;

            this.logger = loggerFactory.CreateLogger <TouristSpotController>();
        }
コード例 #5
0
 public CommentAppServiceTests()
 {
     _commentAppService = GetRequiredService <ICommentAppService>();
 }
コード例 #6
0
 public BlogController(IPostAppService postAppService, ICommentAppService commentAppService)
 {
     this.postAppService = postAppService;
     this.commentAppService = commentAppService;
 }
コード例 #7
0
 public CommentController(ICommentAppService commentAppService, IWebApiResponseHandle webApiResponseHandle)
     : base(webApiResponseHandle)
 {
     _commentAppService = commentAppService;
 }
コード例 #8
0
 public CommentAppService_Tests()
 {
     _commentAppService = Resolve <ICommentAppService>();
 }
コード例 #9
0
 public CommentController(ICommentAppService commentAppService, ITagStatisticsAppService tagStatisticsAppService)
 {
     _commentAppService       = commentAppService;
     _tagStatisticsAppService = tagStatisticsAppService;
 }
コード例 #10
0
 public BlogController()
 {
     this.postAppService    = AppServiceFactory.GetPostAppService();
     this.commentAppService = AppServiceFactory.GetCommentAppService();
 }
コード例 #11
0
 public EditModalModel(ICommentAppService service)
 {
     _service = service;
 }
コード例 #12
0
 public CommentController(ICommentAppService commentAppService, IGoodsTagStatisticsAppService goodsTagStatisticsAppService)
 {
     _commentAppService            = commentAppService;
     _goodsTagStatisticsAppService = goodsTagStatisticsAppService;
 }
コード例 #13
0
 public CommentController(ICommonAppService comService, ICommentAppService Service)
 {
     _comService = comService;
     _Service    = Service;
 }
コード例 #14
0
 public CommentsController(IProductAppService productApp, ICommentAppService commentApp)
 {
     _productApp = productApp;
     _commentApp = commentApp;
 }
コード例 #15
0
 public ProductsController(IProductAppService productApp, ICategoryAppService categoryApp, ICommentAppService commentApp)
 {
     _productApp  = productApp;
     _categoryApp = categoryApp;
     _commentApp  = commentApp;
 }
コード例 #16
0
 public CommentController()
 {
     this.commentAppService = AppServiceFactory.GetCommentAppService();
 }
コード例 #17
0
 public CommentController(ICommentAppService service)
 {
     _service = service;
 }
コード例 #18
0
 public CommentController(ICommentAppService productAppService)
 {
     _commentAppService = productAppService;
 }
コード例 #19
0
 public BlogController(IPostAppService postAppService, ICommentAppService commentAppService)
 {
     this.postAppService    = postAppService;
     this.commentAppService = commentAppService;
 }
コード例 #20
0
 public CommentController()
 {
     this.commentAppService = AppServiceFactory.GetCommentAppService();
 }
コード例 #21
0
ファイル: CommentController.cs プロジェクト: SNest/MvcTask
 public CommentController(ICommentAppService commentAppService)
 {
     this.commentAppService = commentAppService;
 }
コード例 #22
0
 public PostController(IPostAppService postAppService, ICommentAppService commentAppService)
 {
     this._postAppService    = postAppService;
     this._commentAppService = commentAppService;
 }
コード例 #23
0
ファイル: CommentsController.cs プロジェクト: AiwinsFx/Rocket
 public CommentsController(ICommentAppService commentAppService)
 {
     _commentAppService = commentAppService;
 }
コード例 #24
0
ファイル: CommentController.cs プロジェクト: info09/Blog
 public CommentController(ICommentAppService commentAppService)
 {
     this._commentAppService = commentAppService;
 }
コード例 #25
0
 public CommentAppService_Test()
 {
     _commentAppService = LocalIocManager.Resolve <ICommentAppService>();
 }
コード例 #26
0
 public CreateModalModel(ICommentAppService service)
 {
     _service = service;
 }
コード例 #27
0
ファイル: Detail.cshtml.cs プロジェクト: lwqwag/Team.Bloging
 public DetailModel(IPostAppService postAppService, IBlogAppService blogAppService, ICommentAppService commentAppService)
 {
     _postAppService    = postAppService;
     _blogAppService    = blogAppService;
     _commentAppService = commentAppService;
 }
コード例 #28
0
 public BlogController()
 {
     this.postAppService = AppServiceFactory.GetPostAppService();
     this.commentAppService = AppServiceFactory.GetCommentAppService();
 }