Exemplo n.º 1
0
        public UserService(
            ILogger <IUserService> logger,
            MediatR.IMediator mediator,
            IUserRepository userRepository,
            IApiUserServerRequestModelValidator userModelValidator,
            IDALUserMapper dalUserMapper,
            IDALBadgeMapper dalBadgeMapper,
            IDALCommentMapper dalCommentMapper,
            IDALPostMapper dalPostMapper,
            IDALVoteMapper dalVoteMapper,
            IDALPostHistoryMapper dalPostHistoryMapper)
            : base()
        {
            this.UserRepository       = userRepository;
            this.UserModelValidator   = userModelValidator;
            this.DalUserMapper        = dalUserMapper;
            this.DalBadgeMapper       = dalBadgeMapper;
            this.DalCommentMapper     = dalCommentMapper;
            this.DalPostMapper        = dalPostMapper;
            this.DalVoteMapper        = dalVoteMapper;
            this.DalPostHistoryMapper = dalPostHistoryMapper;
            this.logger = logger;

            this.mediator = mediator;
        }
Exemplo n.º 2
0
 public BadgeService(
     ILogger <IBadgeRepository> logger,
     IBadgeRepository badgeRepository,
     IApiBadgeRequestModelValidator badgeModelValidator,
     IBOLBadgeMapper bolbadgeMapper,
     IDALBadgeMapper dalbadgeMapper)
     : base(logger,
            badgeRepository,
            badgeModelValidator,
            bolbadgeMapper,
            dalbadgeMapper)
 {
 }
Exemplo n.º 3
0
 public AbstractBadgeService(
     ILogger logger,
     IBadgeRepository badgeRepository,
     IApiBadgeRequestModelValidator badgeModelValidator,
     IBOLBadgeMapper bolBadgeMapper,
     IDALBadgeMapper dalBadgeMapper)
     : base()
 {
     this.BadgeRepository     = badgeRepository;
     this.BadgeModelValidator = badgeModelValidator;
     this.BolBadgeMapper      = bolBadgeMapper;
     this.DalBadgeMapper      = dalBadgeMapper;
     this.logger = logger;
 }
Exemplo n.º 4
0
        public BadgeService(
            ILogger <IBadgeService> logger,
            MediatR.IMediator mediator,
            IBadgeRepository badgeRepository,
            IApiBadgeServerRequestModelValidator badgeModelValidator,
            IDALBadgeMapper dalBadgeMapper)
            : base()
        {
            this.BadgeRepository     = badgeRepository;
            this.BadgeModelValidator = badgeModelValidator;
            this.DalBadgeMapper      = dalBadgeMapper;
            this.logger = logger;

            this.mediator = mediator;
        }