예제 #1
0
 public void Has_Content()
 {
     Assert.IsTrue(_cache.HasContent());
 }
예제 #2
0
 /// <summary>
 /// Gets a value indicating whether the underlying non-contextual cache contains content.
 ///
 /// </summary>
 /// <param name="preview">A value indicating whether to consider unpublished content.</param>
 /// <returns>
 /// A value indicating whether the underlying non-contextual cache contains content.
 /// </returns>
 public virtual bool HasContent(bool preview)
 {
     return(_contentCache.HasContent(preview));
 }