コード例 #1
0
 public InventionCategoryService(
     IRoleService roleService,
     IInventionCategoryFactory factory,
     IInventionCategoryUpdater updater,
     IAuditService auditService,
     IInventionCategoryDuplicateValidator inventionCategoryDuplicateValidator,
     ITokenService tokenService,
     IUnitOfWork unitOfWork,
     ILogService logService,
     IAppSettingsService appSettingsService,
     IInventAppContext inventAppContext
     ) : base(
         roleService,
         factory,
         updater,
         auditService,
         inventionCategoryDuplicateValidator,
         tokenService,
         unitOfWork,
         logService,
         appSettingsService,
         inventAppContext
         )
 {
 }
コード例 #2
0
 public UserService(
     IUserPredicateFactory userPredicateFactory,
     IUnitOfWork unitOfWork,
     IUserFactory userFactory,
     IUserUpdater updater,
     IAuditService auditService,
     ITokenService tokenService,
     IRoleService roleService,
     IUserDuplicateValidator userDuplicateValidator,
     ILogService logService,
     ITemplateFactory templateFactory,
     ITemplateService templateService,
     IEmailFactory emailFactory,
     IEmailService emailService,
     IAppSettingsService appSettingsService,
     IInventAppContext inventAppContext)
     : base(
         roleService,
         userFactory,
         updater,
         auditService,
         userDuplicateValidator,
         tokenService,
         unitOfWork,
         logService,
         appSettingsService,
         inventAppContext
         )
 {
     _userPredicateFactory = userPredicateFactory;
     _templateFactory      = templateFactory;
     _templateService      = templateService;
     _emailFactory         = emailFactory;
     _emailService         = emailService;
 }
コード例 #3
0
        public ReportService(
            ITokenService tokenService,
            IUnitOfWork unitOfWork,
            ILogService logService,
            IInventionPredicateFactory inventionPredicateFactory,
            IAppSettingsService appSettingsService,
            IUserPredicateFactory userPredicateFactory,
            ITemplateFactory templateFactory,
            ITemplateService templateService,
            IEmailFactory emailFactory,
            IEmailService emailService,
            IInventAppContext inventAppContext
            ) : base(
                tokenService,
                unitOfWork,
                logService,
                inventAppContext
                )
        {
            _inventionPredicateFactory = inventionPredicateFactory;
            _appSettingsService        = appSettingsService;
            _userPredicateFactory      = userPredicateFactory;
            _templateFactory           = templateFactory;
            _templateService           = templateService;
            _emailFactory = emailFactory;
            _emailService = emailService;

            Directory.CreateDirectory($"{_appSettingsService.ReportsDirectory}");
        }
コード例 #4
0
 protected ApplicationService(ITokenService tokenService, IUnitOfWork unitOfWork, ILogService logService, IInventAppContext inventAppContext)
 {
     _tokenService     = tokenService;
     _unitOfWork       = unitOfWork;
     _logService       = logService;
     _inventAppContext = inventAppContext;
 }
コード例 #5
0
 public InventionCategoriesController(
     IInventionCategoryService inventionCategoryService,
     ILogService loggerService,
     IInventAppContext inventAppContext
     ) : base(
         inventionCategoryService,
         loggerService,
         inventAppContext
         )
 {
     _inventionCategoryService = inventionCategoryService;
 }
コード例 #6
0
 protected CrudService(
     IRoleService roleService,
     IFactory <TDto, TAggregateRoot> factory,
     IAggregateUpdater <TDto, TAggregateRoot> aggregateUpdater,
     IAuditService auditService,
     IDuplicateValidator <TDto> duplicateValidator,
     ITokenService tokenService,
     IUnitOfWork unitOfWork,
     ILogService logService,
     IAppSettingsService appSettingsService,
     IInventAppContext inventAppContext
     ) : base(tokenService, unitOfWork, logService, inventAppContext)
 {
     _factory            = factory;
     _aggregateUpdater   = aggregateUpdater;
     _auditService       = auditService;
     _duplicateValidator = duplicateValidator;
     _roleService        = roleService;
     _appSettingsService = appSettingsService;
 }
コード例 #7
0
 public UsersController(IUserService userService, ILogService loggerService, IInventAppContext inventAppContext) : base(userService, loggerService, inventAppContext)
 {
     _userService = userService;
 }
コード例 #8
0
 public CrudController(ICrudService <TDto> crudService, ILogService loggerService, IInventAppContext inventAppContext) : base(loggerService, inventAppContext)
 {
     _crudService = crudService;
 }
コード例 #9
0
 public TokensController(IUserService userService, ILogService logService, IInventAppContext inventAppContext) : base(logService, inventAppContext)
 {
     _userService = userService;
 }
コード例 #10
0
 public InventionFactory(IMapper mapper, IUnitOfWork unitOfWork, IInventAppContext inventAppContext) : base(mapper)
 {
     _unitOfWork       = unitOfWork;
     _inventAppContext = inventAppContext;
 }
コード例 #11
0
 public InventAppApiController(ILogService logService, IInventAppContext inventAppContext)
 {
     _logService       = logService;
     _inventAppContext = inventAppContext;
 }
コード例 #12
0
 public ReportsController(IReportService reportService, ILogService logService, IInventAppContext inventAppContext) : base(logService, inventAppContext)
 {
     _reportService = reportService;
 }