public AddressDeleteCommand(IRepository <Address> addressRepository, IAddressValidator addressValidator,
                             IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _addressRepository = addressRepository;
     _addressValidator  = addressValidator;
 }
예제 #2
0
 public ProductCreateCommand(IDtoValidatorFactory dtoValidatorFactory, IInternalCommandService internalCommandService, IProductQuery productQuery, IProductValidator productValidator, IStoreValidator storeValidator)
     : base(dtoValidatorFactory, false)
 {
     _internalCommandService = internalCommandService;
     _productQuery           = productQuery;
     _productValidator       = productValidator;
     _storeValidator         = storeValidator;
 }
 public AddressCreateCommand(IRepository <Address> addressRepository, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _addressRepository = addressRepository;
 }
예제 #4
0
 public StoreUpdateCommand(IRepository <Entities.StoreModule.Store> repository, IStoreValidator storeValidator, IInternalCommandService internalCommandService, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _internalCommandService = internalCommandService;
     _repository             = repository;
     _storeValidator         = storeValidator;
 }
예제 #5
0
 public CommandStub(IDtoValidatorFactory dtoValidatorFactory, bool failValidateRequest, bool failValidateOperation)
     : base(dtoValidatorFactory, false)
 {
     _failValidateRequest   = failValidateRequest;
     _failValidateOperation = failValidateOperation;
 }
예제 #6
0
 public AddressGetEntityMetaStateCommand(IRepository <Address> addressRepository, IDtoValidatorFactory dtoValidatorFactory) : base(dtoValidatorFactory, false)
 {
     _addressRepository = addressRepository;
 }
예제 #7
0
 public StoreGetByIdCommand(ICachedRepository <Entities.StoreModule.Store> storeRepository, IStoreValidator storeValidator, IMapper mapper, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _storeRepository = storeRepository;
     _mapper          = mapper;
     _storeValidator  = storeValidator;
 }
 public ProductDeleteCommand(IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
 }
 public DtoValidatorVisitor(IDtoValidatorFactory dtoValidatorFactory)
 {
     _dtoValidatorFactory = dtoValidatorFactory;
 }
 public StoreDeleteCommand(IRepository <Entities.StoreModule.Store> repository, IStoreValidator storeValidator, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _repository     = repository;
     _storeValidator = storeValidator;
 }
 public StoreCreateCommand(IRepository <Entities.StoreModule.Store> storeRepository,
                           IInternalCommandService internalCommandService, IMapper mapper, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _storeRepository        = storeRepository;
     _internalCommandService = internalCommandService;
     _mapper = mapper;
 }
예제 #12
0
 protected CommandBase(IDtoValidatorFactory dtoValidatorFactory, bool requiresTransaction)
 {
     _requiresTransaction = requiresTransaction;
     _dtoValidatorFactory = dtoValidatorFactory;
 }
		public AddressGetByIdCommand(IRepository<Address> addressRepository, IAddressValidator addressValidator, IMapper mapper, IDtoValidatorFactory dtoValidatorFactory)
			: base(dtoValidatorFactory, false)
		{
			_addressRepository = addressRepository;
			_mapper = mapper;
			_addressValidator = addressValidator;
		}
예제 #14
0
 public AuthenticateApiKeyCommand(ICachedRepository <Partner> partnerRepository, IMapper mapper, IPartnerQuery partnerQuery, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _partnerRepository = partnerRepository;
     _mapper            = mapper;
     _partnerQuery      = partnerQuery;
 }
예제 #15
0
 public StoreFindCommand(IRepository <Entities.StoreModule.Store> storeRepository, IStoreQuery query, IMapper mapper, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _storeRepository = storeRepository;
     _query           = query;
     _mapper          = mapper;
 }
 public ProductCategoryGetByIdCommand(ICachedRepository <ProductCategory> productCategoryRepository, IMapper mapper, IDtoValidatorFactory dtoValidatorFactory)
     : base(dtoValidatorFactory, false)
 {
     _productCategoryRepository = productCategoryRepository;
     _mapper = mapper;
 }
 public ProductFindByIdsCommand(IDtoValidatorFactory dtoValidatorFactory, ICachedRepository <Product> productRepository, IMapper mapper)
     : base(dtoValidatorFactory, false)
 {
     _productRepository = productRepository;
     _mapper            = mapper;
 }
 public StoreGetEntityMetaStateCommand(IDtoValidatorFactory dtoValidatorFactory, IRepository <Entities.StoreModule.Store> storeRepository)
     : base(dtoValidatorFactory, false)
 {
     _storeRepository = storeRepository;
 }