コード例 #1
0
 public DeleteManufacturerCommandHandler(ISender sender, IManufacturerRepository manufacturerRepository,
                                         ICacheService cacheService)
 {
     _sender = sender;
     _manufacturerRepository = manufacturerRepository;
     _cacheService           = cacheService;
 }
コード例 #2
0
 public DeleteCustomerCommandHandler(ICacheService cacheService, ISender sender,
                                     ICustomerRepository customerRepository)
 {
     _cacheService       = cacheService;
     _customerRepository = customerRepository;
     _sender             = sender;
 }
コード例 #3
0
 public DeleteUserCommandHandler(ISender sender, ICacheService cacheService, IUserRepository userRepository,
                                 IRefreshTokenRepository tokenRepository)
 {
     _sender          = sender;
     _cacheService    = cacheService;
     _userRepository  = userRepository;
     _tokenRepository = tokenRepository;
 }
コード例 #4
0
 public CreateCustomerCommandHandler(IMapper mapper, ISender sender, ICacheService cacheService,
                                     ICustomerRepository customerRepository, IOptions <CacheCustomerSettings> customerSettings)
 {
     _mapper             = mapper;
     _cacheService       = cacheService;
     _customerRepository = customerRepository;
     _sender             = sender;
     _customerSettings   = customerSettings.Value;
 }
コード例 #5
0
 public CreateManufacturerCommandHandler(ISender sender, ICacheService cacheService, IMapper mapper,
                                         IManufacturerRepository manufacturerRepository, IOptions <CacheManufacturerSettings> manufacturerSettings)
 {
     _manufacturerSettings = manufacturerSettings.Value;
     _sender = sender;
     _manufacturerRepository = manufacturerRepository;
     _cacheService           = cacheService;
     _mapper = mapper;
 }
コード例 #6
0
 public UpdateProductCommandHandler(IMapper mapper, ISender sender, ICacheService cacheService,
                                    IProductRepository productRepository, IProductService productService,
                                    IOptions <CacheProductSettings> productSettings)
 {
     _mapper            = mapper;
     _sender            = sender;
     _cacheService      = cacheService;
     _productRepository = productRepository;
     _productService    = productService;
     _productSettings   = productSettings.Value;
 }
コード例 #7
0
 public UpdateUserCommandHandler(IMapper mapper, ISender sender, ICacheService cacheService,
                                 IOptions <CacheUserSettings> userSettings, IUserRepository userRepository,
                                 IRefreshTokenRepository tokenRepository)
 {
     _mapper          = mapper;
     _sender          = sender;
     _cacheService    = cacheService;
     _userRepository  = userRepository;
     _tokenRepository = tokenRepository;
     _userSettings    = userSettings.Value;
 }