public ShareableContentWidgetViewComponent(IPageRetriever pageRetriever, IProgressiveCache progressiveCache, ICacheDependenciesStore cacheDependenciesStore, ICacheDependenciesScope cacheDependenciesScope) { PageRetriever = pageRetriever; ProgressiveCache = progressiveCache; CacheDependenciesStore = cacheDependenciesStore; CacheDependenciesScope = cacheDependenciesScope; }
public MainNavigationViewComponent(INavigationRepository navigationRepository, IPageDataContextRetriever dataRetriever, IUrlHelper urlHelper, ICacheDependenciesStore cacheDependenciesStore, ICacheDependenciesScope cacheDependenciesScope) { NavigationRepository = navigationRepository; DataRetriever = dataRetriever; UrlHelper = urlHelper; CacheDependenciesStore = cacheDependenciesStore; CacheDependenciesScope = cacheDependenciesScope; }
public SecondaryNavigationViewComponent(INavigationRepository navigationRepository, IPageDataContextRetriever pageDataContextRetriever, IUrlResolver urlResolver, ICacheDependenciesStore cacheDependenciesStore, ICacheDependenciesScope cacheDependenciesScope) { NavigationRepository = navigationRepository; PageDataContextRetriever = pageDataContextRetriever; UrlResolver = urlResolver; CacheDependenciesStore = cacheDependenciesStore; CacheDependenciesScope = cacheDependenciesScope; }
public ImageWidgetViewComponent(IMediaRepository mediaRepository, ICacheDependenciesStore cacheDependenciesStore, ICacheDependenciesScope cacheDependenciesScope) { MediaRepository = mediaRepository; this.cacheDependenciesStore = cacheDependenciesStore; this.cacheDependenciesScope = cacheDependenciesScope; }
/// <summary> /// Initializes a new instance of the <see cref="CachingRepositoryDecorator"/> class. /// </summary> /// <param name="cachingRepoContext">Time duration during which the repository method result is cached.</param> /// <param name="contentItemMetadataProvider">Object that provides information about pages and info objects using their runtime type.</param> /// <param name="cacheEnabled">Indicates whether caching is enabled.</param> public CachingRepositoryDecorator(ICachingRepositoryContext cachingRepoContext, IContentItemMetadataProvider contentItemMetadataProvider, ICacheDependenciesStore cacheDependenciesStore) { this.cachingRepoContext = cachingRepoContext; mContentItemMetadataProvider = contentItemMetadataProvider; this.cacheDependenciesStore = cacheDependenciesStore; }