public CachingQueryDecorator(
     IContentItemMetadataProvider contentItemMetadataProvider,
     ICmsCacheSettings cacheSettings)
 {
     this.contentItemMetadataProvider = contentItemMetadataProvider;
     this.cacheSettings = cacheSettings;
 }
 /// <summary>
 /// Initializes a new instance of the <see cref="OutputCacheDependencies"/> class.
 /// </summary>
 /// <param name="response">HTTP response that will be used to create output cache dependencies.</param>
 /// <param name="contentItemMetadataProvider">object that provides information about pages and info objects using their runtime type.</param>
 /// <param name="isCacheEnabled">Indicates whether caching is enabled.</param>
 public OutputCacheDependencies(
     HttpResponseBase response,
     IContentItemMetadataProvider contentItemMetadataProvider,
     ICmsCacheSettings cacheSettings)
 {
     this.response = response;
     this.contentItemMetadataProvider = contentItemMetadataProvider;
     isCacheEnabled = cacheSettings.IsCacheEnabled;
 }