Пример #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;
        }
Пример #2
0
 public PostLinkService(
     ILogger <IPostLinkRepository> logger,
     IPostLinkRepository postLinkRepository,
     IApiPostLinkRequestModelValidator postLinkModelValidator,
     IBOLPostLinkMapper bolpostLinkMapper,
     IDALPostLinkMapper dalpostLinkMapper)
     : base(logger,
            postLinkRepository,
            postLinkModelValidator,
            bolpostLinkMapper,
            dalpostLinkMapper)
 {
 }
Пример #3
0
 public AbstractPostLinkService(
     ILogger logger,
     IPostLinkRepository postLinkRepository,
     IApiPostLinkRequestModelValidator postLinkModelValidator,
     IBOLPostLinkMapper bolPostLinkMapper,
     IDALPostLinkMapper dalPostLinkMapper)
     : base()
 {
     this.PostLinkRepository     = postLinkRepository;
     this.PostLinkModelValidator = postLinkModelValidator;
     this.BolPostLinkMapper      = bolPostLinkMapper;
     this.DalPostLinkMapper      = dalPostLinkMapper;
     this.logger = logger;
 }
Пример #4
0
        public PostLinkService(
            ILogger <IPostLinkService> logger,
            MediatR.IMediator mediator,
            IPostLinkRepository postLinkRepository,
            IApiPostLinkServerRequestModelValidator postLinkModelValidator,
            IDALPostLinkMapper dalPostLinkMapper)
            : base()
        {
            this.PostLinkRepository     = postLinkRepository;
            this.PostLinkModelValidator = postLinkModelValidator;
            this.DalPostLinkMapper      = dalPostLinkMapper;
            this.logger = logger;

            this.mediator = mediator;
        }
Пример #5
0
        public LinkTypeService(
            ILogger <ILinkTypeService> logger,
            MediatR.IMediator mediator,
            ILinkTypeRepository linkTypeRepository,
            IApiLinkTypeServerRequestModelValidator linkTypeModelValidator,
            IDALLinkTypeMapper dalLinkTypeMapper,
            IDALPostLinkMapper dalPostLinkMapper)
            : base()
        {
            this.LinkTypeRepository     = linkTypeRepository;
            this.LinkTypeModelValidator = linkTypeModelValidator;
            this.DalLinkTypeMapper      = dalLinkTypeMapper;
            this.DalPostLinkMapper      = dalPostLinkMapper;
            this.logger = logger;

            this.mediator = mediator;
        }