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