/// <summary> /// Create new instance tied to current cart and reseller. /// </summary> public TermsOfServiceProvider(ICartProvider cartProvider, IProductProvider productProvider, IResourceProvider resourceProvider, IResellerProvider resellerProvider) { if (cartProvider == null) { throw new ArgumentNullException("cartProvider"); } if (productProvider == null) { throw new ArgumentNullException("productProvider"); } if (resourceProvider == null) { throw new ArgumentNullException("resourceProvider"); } if (resellerProvider == null) { throw new ArgumentNullException("resellerProvider"); } this.cartProvider = cartProvider; this.productProvider = productProvider; this.resourceProvider = resourceProvider; this.resellerProvider = resellerProvider; }
/// <summary> /// Create a new instance of the service. /// </summary> public OrderPlacementService( PaymentUrlProvider urlProvider, IProductProvider productProvider, RenewalPeriodProvider renewalPeriodProvider, IEnumerable<PaymentDataHandler> paymentDataHandlers, OrderCreator orderCreator, PaymentTransactionCreator paymentTransactionCreator) { if (urlProvider == null) { throw new ArgumentNullException("urlProvider"); } if (productProvider == null) { throw new ArgumentNullException("productProvider"); } if (renewalPeriodProvider == null) { throw new ArgumentNullException("renewalPeriodProvider"); } if (paymentDataHandlers == null) { throw new ArgumentNullException("paymentDataHandlers"); } if (orderCreator == null) { throw new ArgumentNullException("orderCreator"); } if (paymentTransactionCreator == null) { throw new ArgumentNullException("paymentTransactionCreator"); } this.urlProvider = urlProvider; this.productProvider = productProvider; this.renewalPeriodProvider = renewalPeriodProvider; this.paymentDataHandlers = paymentDataHandlers; this.orderCreator = orderCreator; this.paymentTransactionCreator = paymentTransactionCreator; }
public ProductController(IProductProvider productProvider) { _productProvider = productProvider; }
protected ZipMetaProvider(IProductProvider productProvider, IBootProvider bootProvider, ILogger logger) { ProductProvider = productProvider; BootProvider = bootProvider; Logger = logger; }
public ZipCameraListProvider(ICameraMetaProvider cameraProvider, IProductProvider productProvider, IBootProvider bootProvider, ILogger <ZipCameraListProvider> logger) : base(productProvider, bootProvider, logger) { CameraProvider = cameraProvider; }
public ProductUrlConverter(IProductProvider productProvider, IProductUrlIdExtractor productUrlIdExtractor, IProductUrlBuilder productUrlBuilder) { _productUrlIdExtractor = productUrlIdExtractor; _productUrlBuilder = productUrlBuilder; _productProvider = productProvider; }
public BLL_Product(IConfiguration iconfiguration) { _productProvider = new ProductProvider(iconfiguration); }
public SdmSourceProvider(IProductProvider productProvider, ILoggerFactory loggerFactory) : base(productProvider, loggerFactory.CreateLogger <SdmSourceProvider>()) { }
public PsCameraProvider(IProductProvider productProvider, IEncodingProvider encodingProvider, ICameraBootProvider bootProvider, ICameraCardProvider <PsCardData> cardProvider, IAltProvider altProvider) : base(productProvider, encodingProvider, bootProvider, cardProvider) { AltProvider = altProvider; }
public ProductsController(IProductProvider productProvider) { this.productProvider = productProvider; }
protected MlSoftwareDetector(IProductProvider productProvider, ISourceProvider sourceProvider) : base(productProvider, sourceProvider) { }
public CategoryMetaProvider(IProductProvider productProvider) { Categories = productProvider.GetCategoryNames().ToDictionary( n => n, CreateCategoryInfo); }
public AggregateDownloaderProvider(IServiceActivator serviceActivator, IProductProvider productProvider) { ServiceActivator = serviceActivator; ProductProvider = productProvider; _downloaderProviders = new Lazy <IEnumerable <IDownloaderProvider> >(GetDownloaderProviders); }
public MlSoftwareProvider(IProductProvider productProvider, SoftwareSourceInfo source, CultureInfo language) : base(productProvider, source, language) { }
public ProductsController(IProductProvider provider) =>
public ProductsController(IProductProvider productProvider, ISiteConfiguration siteConfiguration) { _productProvider = productProvider; _siteConfiguration = siteConfiguration; }
public HomeController() { _productProvider = new ProductProvider(); }
public Updater UseProductProvider(IProductProvider provider) { ProductProvider = provider ?? throw new ArgumentNullException(); return(this); }
public InstallActionProvider(MainViewModel mainViewModel, IProductProvider productProvider, ISourceProvider sourceProvider, IServiceActivator serviceActivator) : base(mainViewModel, sourceProvider, serviceActivator) { ProductProvider = productProvider; }
public NightlyMlSoftwareDetector(IProductProvider productProvider, ISourceProvider sourceProvider) : base(productProvider, sourceProvider) { }
public ProductController(IProductProvider productprovider, ICategoryProvider item) { _context = productprovider; _context2 = item; }
/// <summary> /// Default constructor /// </summary> /// <param name="productProvider">IProductProvider instance</param> public ProductSitemapProvider(IProductProvider productProvider) { _productProvider = productProvider ?? throw new ArgumentNullException(nameof(productProvider)); }
public ProductService(IProductProvider productProvider, IOrderProvider orderProvider, IOfferProvider offerProvider) { _productProvider = productProvider; _orderProvider = orderProvider; _offerProvider = offerProvider; }
public AggregateTipProvider(MainViewModel mainViewModel, IServiceActivator serviceActivator, IProductProvider productProvider, ILoggerFactory loggerFactory) : base(loggerFactory) { MainViewModel = mainViewModel; ServiceActivator = serviceActivator; ProductProvider = productProvider; }
public void Initialize() { productsProvider = DependancyManager.Resolve <IProductProvider>(); }
public EosCameraProvider(IProductProvider productProvider, IEncodingProvider encodingProvider, ICameraBootProvider bootProvider, ICameraCardProvider <EosCardData> cardProvider) : base(productProvider, encodingProvider, bootProvider, cardProvider) { }
public ChdkSoftwareDetector(IProductProvider productProvider, ISourceProvider sourceProvider) : base(productProvider, sourceProvider) { }
public ProductController(IProductProvider productProvider, IProductHandler productHandler, IProductValidator productValidator) { this.productProvider = productProvider; this.productHandler = productHandler; this.productValidator = productValidator; }
public MlProductDetector(IProductProvider productProvider, IBootProvider bootProvider) : base(productProvider, bootProvider) { }
public ProceedToBuyController(IProceedToBuyProvider provider, IVendorProvider vendorProvider, IProductProvider productProvider) { this._provider = provider; this._vendor = vendorProvider; this._productProvider = productProvider; }
public ShoppingCartFileStorage(string path, IProductProvider productProvider) { Path = path; ProductProvider = productProvider; }
protected ProductSourceProvider(IProductProvider productProvider, ILogger logger) : base(logger) { ProductProvider = productProvider; }
public CameraProvider(IProductProvider productProvider, ILoggerFactory loggerFactory) : base(loggerFactory) { ProductProvider = productProvider; }