Beispiel #1
0
        public PostService(
            ILogger <IPostService> logger,
            MediatR.IMediator mediator,
            IPostRepository postRepository,
            IApiPostServerRequestModelValidator postModelValidator,
            IDALPostMapper dalPostMapper,
            IDALCommentMapper dalCommentMapper,
            IDALTagMapper dalTagMapper,
            IDALVoteMapper dalVoteMapper,
            IDALPostHistoryMapper dalPostHistoryMapper,
            IDALPostLinkMapper dalPostLinkMapper)
            : base()
        {
            this.PostRepository       = postRepository;
            this.PostModelValidator   = postModelValidator;
            this.DalPostMapper        = dalPostMapper;
            this.DalCommentMapper     = dalCommentMapper;
            this.DalTagMapper         = dalTagMapper;
            this.DalVoteMapper        = dalVoteMapper;
            this.DalPostHistoryMapper = dalPostHistoryMapper;
            this.DalPostLinkMapper    = dalPostLinkMapper;
            this.logger = logger;

            this.mediator = mediator;
        }
Beispiel #2
0
 public TagService(
     ILogger <ITagRepository> logger,
     ITagRepository tagRepository,
     IApiTagRequestModelValidator tagModelValidator,
     IBOLTagMapper boltagMapper,
     IDALTagMapper daltagMapper)
     : base(logger,
            tagRepository,
            tagModelValidator,
            boltagMapper,
            daltagMapper)
 {
 }
 public AbstractTagService(
     ILogger logger,
     ITagRepository tagRepository,
     IApiTagRequestModelValidator tagModelValidator,
     IBOLTagMapper bolTagMapper,
     IDALTagMapper dalTagMapper)
     : base()
 {
     this.TagRepository     = tagRepository;
     this.TagModelValidator = tagModelValidator;
     this.BolTagMapper      = bolTagMapper;
     this.DalTagMapper      = dalTagMapper;
     this.logger            = logger;
 }
Beispiel #4
0
        public TagService(
            ILogger <ITagService> logger,
            MediatR.IMediator mediator,
            ITagRepository tagRepository,
            IApiTagServerRequestModelValidator tagModelValidator,
            IDALTagMapper dalTagMapper)
            : base()
        {
            this.TagRepository     = tagRepository;
            this.TagModelValidator = tagModelValidator;
            this.DalTagMapper      = dalTagMapper;
            this.logger            = logger;

            this.mediator = mediator;
        }