Exemple #1
0
 public IEnumerable <IPublishedContent> GetTypedContentAtXPath(string xpath)
 {
     return(_umbracoContentQuery.TypedContentAtXPath(xpath));
 }
 public IEnumerable <IPublishedContent> TypedContentAtXPath(string xpath, params XPathVariable[] vars)
 {
     return(_typedContentQuery == null
         ? TypedDocumentsByXPath(xpath, vars, _contentCache)
         : _typedContentQuery.TypedContentAtXPath(xpath, vars));
 }