示例#1
0
        public CatalogExportImport(
            ICatalogSearchService catalogSearchService,
            ICatalogService catalogService,
            ICategoryService categoryService,
            IItemService itemService,
            IPropertyService propertyService,
            IBlobStorageProvider blobStorageProvider,
            IAssociationService associationService,
            ISettingsManager settingsManager,
            IProperyDictionaryItemSearchService propertyDictionarySearchService,
            IProperyDictionaryItemService propertyDictionaryService
            )
        {
            _blobStorageProvider             = blobStorageProvider;
            _catalogSearchService            = catalogSearchService;
            _catalogService                  = catalogService;
            _categoryService                 = categoryService;
            _itemService                     = itemService;
            _propertyService                 = propertyService;
            _associationService              = associationService;
            _settingsManager                 = settingsManager;
            _propertyDictionarySearchService = propertyDictionarySearchService;
            _propertyDictionaryService       = propertyDictionaryService;

            _serializer = new JsonSerializer
            {
                ReferenceLoopHandling = ReferenceLoopHandling.Ignore,
                Formatting            = Formatting.Indented,
                NullValueHandling     = NullValueHandling.Ignore
            };
        }
 public CatalogModulePropertyDictionaryItemsController(ISecurityService securityService, IPermissionScopeService permissionScopeService, IProperyDictionaryItemSearchService propertyDictionarySearchService,
                                                       IProperyDictionaryItemService propertyDictionaryService)
     : base(securityService, permissionScopeService)
 {
     _propertyDictionarySearchService = propertyDictionarySearchService;
     _propertyDictionaryService       = propertyDictionaryService;
 }
示例#3
0
 public CatalogExportImport(ICatalogService catalogService, IProductSearchService productSearchService, ICategorySearchService categorySearchService, ICategoryService categoryService,
                            IItemService itemService, IPropertyService propertyService, IPropertySearchService propertySearchService, IProperyDictionaryItemSearchService propertyDictionarySearchService, IProperyDictionaryItemService propertyDictionaryService, IOptions <MvcJsonOptions> jsonOptions
                            , IBlobStorageProvider blobStorageProvider)
 {
     _catalogService                  = catalogService;
     _productSearchService            = productSearchService;
     _categorySearchService           = categorySearchService;
     _categoryService                 = categoryService;
     _itemService                     = itemService;
     _propertyService                 = propertyService;
     _propertySearchService           = propertySearchService;
     _propertyDictionarySearchService = propertyDictionarySearchService;
     _propertyDictionaryService       = propertyDictionaryService;
     _jsonSerializer                  = JsonSerializer.Create(jsonOptions.Value.SerializerSettings);
     _blobStorageProvider             = blobStorageProvider;
 }
示例#4
0
 public CatalogExportImport(ICatalogService catalogService, IProductSearchService productSearchService, ICategorySearchService categorySearchService, ICategoryService categoryService,
                            IItemService itemService, IPropertyService propertyService, IPropertySearchService propertySearchService, IProperyDictionaryItemSearchService propertyDictionarySearchService,
                            IProperyDictionaryItemService propertyDictionaryService, JsonSerializer jsonSerializer, IBlobStorageProvider blobStorageProvider, IAssociationService associationService)
 {
     _catalogService                  = catalogService;
     _productSearchService            = productSearchService;
     _categorySearchService           = categorySearchService;
     _categoryService                 = categoryService;
     _itemService                     = itemService;
     _propertyService                 = propertyService;
     _propertySearchService           = propertySearchService;
     _propertyDictionarySearchService = propertyDictionarySearchService;
     _propertyDictionaryService       = propertyDictionaryService;
     _jsonSerializer                  = jsonSerializer;
     _blobStorageProvider             = blobStorageProvider;
     _associationService              = associationService;
 }
 public CsvCatalogImporter(ICatalogService catalogService, ICategoryService categoryService, IItemService productService, ISkuGenerator skuGenerator,
                           IPricingService pricingService, IInventoryService inventoryService, IFulfillmentCenterSearchService fulfillmentCenterSearchService,
                           IPropertyService propertyService, ICatalogSearchService searchService, Func <ICatalogRepository> catalogRepositoryFactory, IPricingSearchService pricingSearchService,
                           ISettingsManager settingsManager, IStoreService storeService, IProperyDictionaryItemSearchService propDictItemSearchService, IProperyDictionaryItemService propDictItemService)
 {
     _catalogService   = catalogService;
     _categoryService  = categoryService;
     _productService   = productService;
     _skuGenerator     = skuGenerator;
     _pricingService   = pricingService;
     _inventoryService = inventoryService;
     _fulfillmentCenterSearchService = fulfillmentCenterSearchService;
     _propertyService                = propertyService;
     _searchService                  = searchService;
     _catalogRepositoryFactory       = catalogRepositoryFactory;
     _pricingSearchService           = pricingSearchService;
     _storeService                   = storeService;
     _propDictItemSearchService      = propDictItemSearchService;
     _propDictItemService            = propDictItemService;
     _createPropertyDictionatyValues = settingsManager.GetValue("CsvCatalogImport.CreateDictionaryValues", false);
 }
示例#6
0
 public ProperyDictionaryItemSearchService(Func <ICatalogRepository> repositoryFactory, IProperyDictionaryItemService properyDictionaryItemService)
 {
     _repositoryFactory            = repositoryFactory;
     _properyDictionaryItemService = properyDictionaryItemService;
 }
示例#7
0
 public CatalogModulePropertyDictionaryItemsController(IProperyDictionaryItemSearchService propertyDictionarySearchService,
                                                       IProperyDictionaryItemService propertyDictionaryService)
 {
     _propertyDictionarySearchService = propertyDictionarySearchService;
     _propertyDictionaryService       = propertyDictionaryService;
 }