merge with 6.1.0
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Xml.XPath;
|
||||
using Umbraco.Core.Models;
|
||||
using Umbraco.Core.Xml;
|
||||
|
||||
@@ -72,6 +73,15 @@ namespace Umbraco.Web.PublishedCache
|
||||
return _cache.GetByXPath(UmbracoContext, xpath, vars);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets an XPath navigator that can be used to navigate contents.
|
||||
/// </summary>
|
||||
/// <returns>The XPath navigator.</returns>
|
||||
public virtual XPathNavigator GetXPathNavigator()
|
||||
{
|
||||
return _cache.GetXPathNavigator(UmbracoContext);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Gets a value indicating whether the underlying non-contextual cache contains published content.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user