public InventoryHandler(ISqLiteDataAccess dataAccess, IProductCategoryValidator productCategoryValidator, IProductValidator productValidator, IUserInterface userInterface) { _dataAccess = dataAccess; _productCategoryValidator = productCategoryValidator; _productValidator = productValidator; _userInterface = userInterface; }
public ProductService(IProductRepository repository, IProductOverviewRepository overviewRepository, IProductBadgeRepository badgeRepository, IProductImageRepository imageRepository, IProductValidator validator) { _repository = repository ?? throw new ArgumentNullException(nameof(repository)); _overviewRepository = overviewRepository ?? throw new ArgumentNullException(nameof(overviewRepository)); _badgeRepository = badgeRepository ?? throw new ArgumentNullException(nameof(badgeRepository)); _imageRepository = imageRepository ?? throw new ArgumentNullException(nameof(imageRepository)); _validator = validator ?? throw new ArgumentNullException(nameof(validator)); }
public ProductCreateCommand(IDtoValidatorFactory dtoValidatorFactory, IInternalCommandService internalCommandService, IProductQuery productQuery, IProductValidator productValidator, IStoreValidator storeValidator) : base(dtoValidatorFactory, false) { _internalCommandService = internalCommandService; _productQuery = productQuery; _productValidator = productValidator; _storeValidator = storeValidator; }
public ProductService( IUOW UOW, IProductValidator ProductValidator ) { this.UOW = UOW; this.ProductValidator = ProductValidator; }
public void AddValidator(IProductValidator validator) { if (validator is null) { throw new ArgumentNullException(nameof(validator)); } this.procoductValidators.Add(validator); }
public ProductService( IProductRepository productRepository, IUnitOfWork unitOfWork, IProductValidator productValidator) { _productRepository = productRepository; _unitOfWork = unitOfWork; _productValidator = productValidator; }
public ProductController( IProductSaver productSaver, IProductProvider productProvider, IProductValidator productValidator, ILogger <ProductController> logger) { this.productSaver = productSaver; this.productProvider = productProvider; this.productValidator = productValidator; this.logger = logger; }
public ProductManager( IExceptionHandler exceptionHandler, IProductValidator productValidator, IProductRepository productRepository, IProductFactory productFactory) { _exceptionHandler = exceptionHandler; _productValidator = productValidator; _productRepository = productRepository; _productFactory = productFactory; }
public ProductManager( IExceptionHandler exceptionHandler, IProductValidator productValidator, IProductRepository productRepository, IProductFactory productFactory) { _exceptionHandler = exceptionHandler; _productValidator = productValidator; _productRepository = productRepository; _productFactory = productFactory; }
public ProductUploader(ILogger logger, IProductValidator validator, ICacheManager cacher, IProductResolver productResolver) { if (logger == null) throw new ArgumentNullException("logger"); if (validator == null) throw new ArgumentNullException("validator"); if (cacher == null) throw new ArgumentNullException("cacher"); if (productResolver == null) throw new ArgumentNullException("productResolver"); _logger = logger; _validator = validator; _cacher = cacher; _productResolver = productResolver; }
public ProductService( IUOW UOW, ILogging Logging, ICurrentContext CurrentContext, INotificationService NotificationService, IProductValidator ProductValidator, IImageService ImageService, IRabbitManager RabbitManager ) { this.UOW = UOW; this.Logging = Logging; this.CurrentContext = CurrentContext; this.NotificationService = NotificationService; this.ProductValidator = ProductValidator; this.ImageService = ImageService; this.RabbitManager = RabbitManager; }
public CloudBasedProductDataRepository(IProductValidator productValidator, ICloudDatabase cloudDatabase, ICloudQueue cloudQueue) { _productValidator = productValidator; _cloudDatabase = cloudDatabase; _cloudQueue = cloudQueue; }
public ProductService(IProductValidator productValidator, IProductRepository productRepository, IProductOptionRepository productOptionRepository) { _productRepository = productRepository; _productOptionRepository = productOptionRepository; _productValidator = productValidator; }
public ProductController(IUnitOfWork unitOfWork, IProductValidator productValidator) { this._unitOfWork = unitOfWork; this._productValidator = productValidator; }
public ProviderProcessor(IProviderRepository provider, IProductValidator validator) { repo = provider; this.validator = validator; }
public ProductWithValidator(IProductValidator validator) { this.validator = validator; }
public ProductRawToProductConverter(IDictionaryCache dictionaryCache, IProductValidator validator) { m_dictionaryCache = dictionaryCache; m_productValidator = validator; }
public DeliveryDateScheduleService(IAvailableDeliveryDateBuilder deliveryDateBuilder, ITimeProvider timeProvider, IProductValidator productValidator) { _deliveryDateBuilder = deliveryDateBuilder; _timeProvider = timeProvider; _productValidator = productValidator; }
public ProductController(IProduct products, IProductValidator validator) { _products = products; _validator = validator; }
public ProductController(IProductProvider productProvider, IProductHandler productHandler, IProductValidator productValidator) { this.productProvider = productProvider; this.productHandler = productHandler; this.productValidator = productValidator; }
public ProductService(ICatalogDbContext catalogDbContext, IProductValidator productValidator) { _catalogDbContext = catalogDbContext; _productValidator = productValidator; }
public void SetUp() { provider = A.Fake <IProviderRepository>(); productValidator = A.Fake <IProductValidator>(); processor = new ProviderProcessing.ProviderProcessor(provider, productValidator); }