Exemplo n.º 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;
        }
Exemplo n.º 2
0
 public PostLinkService(
     ILogger <IPostLinkRepository> logger,
     IPostLinkRepository postLinkRepository,
     IApiPostLinkRequestModelValidator postLinkModelValidator,
     IBOLPostLinkMapper bolpostLinkMapper,
     IDALPostLinkMapper dalpostLinkMapper)
     : base(logger,
            postLinkRepository,
            postLinkModelValidator,
            bolpostLinkMapper,
            dalpostLinkMapper)
 {
 }
Exemplo n.º 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;
 }
Exemplo n.º 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;
        }
Exemplo n.º 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;
        }