public PageProvider( StaticStartPage entryPoint, AssetModel assets, IContentTypeRepository contentTypeRepository, IObjectInstanceCache objectInstanceCache) : base(entryPoint, 250000, contentTypeRepository, objectInstanceCache) { _assets = assets; }
public CachingUrlResolver(RouteCollection routes, IContentLoader contentLoader, SiteDefinitionRepository siteDefinitionRepository, TemplateResolver templateResolver, IPermanentLinkMapper permanentLinkMapper, IObjectInstanceCache cache) : base(routes, contentLoader, siteDefinitionRepository, templateResolver, permanentLinkMapper) { _cache = cache; }
public CachingUrlResolver(RouteCollection routes, IContentLoader contentLoader, SiteDefinitionRepository siteDefinitionRepository, TemplateResolver templateResolver, IPermanentLinkMapper permanentLinkMapper, IObjectInstanceCache cache) : base(routes, contentLoader, siteDefinitionRepository, templateResolver, permanentLinkMapper) { _cache = cache; }
protected ContentProviderBase(IContent entryPoint, int nextId, IContentTypeRepository contentTypeRepository, IObjectInstanceCache objectInstanceCache) { _nextId = nextId; _contentTypeRepository = contentTypeRepository; _objectInstanceCache = objectInstanceCache; this.Tree = new ContentNode <IContent> { Content = entryPoint }; }
public CatalogContentEvents( IObjectInstanceCache cache, IContentLoader contentLoader, CategoryExportService categoryExportService, ProductExportService productExportService, ReferenceConverter referenceConverter, IRelationRepository relationRepository) { _cache = cache; _contentLoader = contentLoader; _categoryExportService = categoryExportService; _productExportService = productExportService; _referenceConverter = referenceConverter; _relationRepository = relationRepository; }
public CachingUrlResolver(RouteCollection routes, IContentLoader contentLoader, ISiteDefinitionRepository siteDefinitionRepository, TemplateResolver templateResolver, IPermanentLinkMapper permanentLinkMapper, IContentLanguageSettingsHandler contentLanguageSettingsHandler, IContentCacheKeyCreator cacheKeyCreator, IContentCacheVersion cacheVersion, IObjectInstanceCache cache, IContentUrlCache contentUrlCache, IContextModeResolver contextModeResolver, IRequestHostResolver requestHostResolver) : base(routes, contentLoader, siteDefinitionRepository, templateResolver, permanentLinkMapper, contentLanguageSettingsHandler, contentUrlCache, contextModeResolver, requestHostResolver) { _cache = cache; _cacheVersion = cacheVersion; _cacheVersionKey = cacheKeyCreator.VersionKey; }
/// <summary> /// Constructs a new instance of <see cref="CurrentDomainTypeResolver"/>. /// </summary> /// <param name="cache">An <see cref="IObjectInstanceCache"/> object used for caching.</param> public CurrentDomainTypeResolver(IObjectInstanceCache cache) { this.cache = cache; }
public RemoteCacheSynchronization(IObjectInstanceCache localCache) { this._localCache = localCache; }
public TaxUtility(IObjectInstanceCache objectInstanceCache, ICatalogTaxManagerFacade catalogTaxManagerFacade) { _objectInstanceCache = objectInstanceCache; _catalogTaxManagerFacade = catalogTaxManagerFacade; }
/// <summary> /// Constructs a new instance of <see cref="AttributeDisplayOptionsResolver"/>. /// </summary> /// <param name="displayOptions">A list of available displayoptions.</param> /// <param name="cache">An <see cref="IObjectInstanceCache"/> object used for caching.</param> public AttributeDisplayOptionsResolver(EPiServer.Web.DisplayOptions displayOptions, IObjectInstanceCache cache) { this.displayOptions = displayOptions; this.cache = cache; }