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 ItemServiceImpl(Func <ICatalogRepository> catalogRepositoryFactory, ICommerceService commerceService, IOutlineService outlineService, IAssociationService associationService, ICatalogService catalogService, ICategoryService categoryService, AbstractValidator <IHasProperties> hasPropertyValidator) { _catalogService = catalogService; _categoryService = categoryService; _commerceService = commerceService; _outlineService = outlineService; _associationService = associationService; _repositoryFactory = catalogRepositoryFactory; _hasPropertyValidator = hasPropertyValidator; }
public RecommendationController( IEntityAnalysisService entityAnalysisService, IAssociationService associationService, IProductService productService, ILogger logger) { _entityAnalysisService = entityAnalysisService; _associationService = associationService; _productService = productService; _logger = logger; }
public AssociationsController( IAssociationSearchService associationSearchService, IAssociationService associationService, IAuthorizationService authorizationService, IAssociationEvaluator associationEvaluator, IAssociationConditionEvaluator associationConditionEvaluator) { _associationSearchService = associationSearchService; _associationService = associationService; _authorizationService = authorizationService; _associationEvaluator = associationEvaluator; _associationConditionEvaluator = associationConditionEvaluator; }
public ReferencedAssociationsTest() { var associations = GetTestAssociationEntities(); var products = GetTestProductEntities(); var catalogRepository = new Mock <ICatalogRepository>(); catalogRepository.Setup(r => r.Items).Returns(products); catalogRepository.Setup(r => r.GetItemByIds(It.IsAny <string[]>(), It.IsAny <ItemResponseGroup>())).Returns((string[] ids, ItemResponseGroup responseGroup) => { return(products.Where(p => ids.Contains(p.Id)).ToArray()); }); catalogRepository.Setup(r => r.Associations).Returns(associations); _associationService = new AssociationServiceImpl(() => catalogRepository.Object); }
public CatalogExportImport(ICatalogSearchService catalogSearchService, ICatalogService catalogService, ICategoryService categoryService, IItemService itemService, IPropertyService propertyService, IBlobStorageProvider blobStorageProvider, IAssociationService associationService) { _blobStorageProvider = blobStorageProvider; _catalogSearchService = catalogSearchService; _catalogService = catalogService; _categoryService = categoryService; _itemService = itemService; _propertyService = propertyService; _associationService = associationService; _serializer = new JsonSerializer(); _serializer.ReferenceLoopHandling = ReferenceLoopHandling.Ignore; _serializer.Formatting = Formatting.Indented; _serializer.NullValueHandling = NullValueHandling.Ignore; }
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 CatalogModuleAssociationsController(IAssociationService associationService, IProductAssociationSearchService productAssociationSearchService) { _associationService = associationService; _productAssociationSearchService = productAssociationSearchService; }
public HomeController(IUserService repo, IAssociationService assoc) { this._repo = repo; this._assoc = assoc; }
public UrlsController(IUrlService urlService, IAssociationService associationService) { _urlService = urlService; _associationService = associationService; }
//private readonly IHuntingGroundsService _serv; public AsocAdminController(IUserService repo, IAssociationService assoc) { _repo = repo; _assoc = assoc; }
public HuntingGroundsService(Assignment2Context context, IAssociationService associationService) { _context = context; _associationService = associationService; }
public AssociationsExportImport(IAssociationService associationService, IAssociationSearchService associationSearchService, JsonSerializer jsonSerializer) { _associationService = associationService; _associationSearchService = associationSearchService; _serializer = jsonSerializer; }
public AssociationSearchService(Func <IAssociationsRepository> associationsRepositoryFactory, IPlatformMemoryCache platformMemoryCache, IAssociationService associationService) { _associationsRepositoryFactory = associationsRepositoryFactory; _platformMemoryCache = platformMemoryCache; _associationService = associationService; }