public ItemFieldsCache(IDetectFullCategoryScan detectFullCategoryScan) { _detectFullCategoryScan = detectFullCategoryScan; Stats = new CacheStatistics("ItemFieldsCache"); _cache = new ConcurrentDictionary <Guid, ConcurrentDictionary <string, FieldList> >(); _IdQueue = new ConcurrentQueue <Guid>(); }
public FieldListCache(int itemSize, IDetectFullCategoryScan detectFullCategoryScan) { _detectFullCategoryScan = detectFullCategoryScan; MaxNumberOfItems = itemSize; Data = new ConcurrentDictionary <ID, ConcurrentDictionary <string, FieldList> >(); OrderedListOfAddedIds = new ConcurrentQueue <ID>(); }
public SitecoreCatalogSectionProvider(IUserService userService, ISecurityService securityService, IRepository <CategoryTreeView> categoryTreeViewRepository, bool considerProductsAsChildren, IDetectFullCategoryScan detectFullCategoryScan) : base(userService, securityService, categoryTreeViewRepository, considerProductsAsChildren) { _categoryTreeViewRepository = categoryTreeViewRepository; _detectFullCategoryScan = detectFullCategoryScan; }
public FieldListCache(IDetectFullCategoryScan detectFullCategoryScan) : this(1024, detectFullCategoryScan) { }
public SitecoreProductSectionProvider(IUserService userService, IRepository <ProductTreeView> productTreeViewRepository, IDetectFullCategoryScan fullCategoryScanDetecter) : base(userService, productTreeViewRepository) { _productTreeViewRepository = productTreeViewRepository; _fullCategoryScanDetecter = fullCategoryScanDetecter; }