Esempio n. 1
0
 public DynamicPublishedContentList AncestorsOrSelf(int level)
 {
     return(new DynamicPublishedContentList(PublishedContent.AncestorsOrSelf(level)));
 }
Esempio n. 2
0
 public DynamicPublishedContentList AncestorsOrSelf(Func <IPublishedContent, bool> func)
 {
     return(new DynamicPublishedContentList(PublishedContent.AncestorsOrSelf(true, func)));
 }
Esempio n. 3
0
 public DynamicPublishedContentList AncestorsOrSelf(string contentTypeAlias)
 {
     return(new DynamicPublishedContentList(PublishedContent.AncestorsOrSelf(contentTypeAlias)));
 }
Esempio n. 4
0
 public DynamicPublishedContent AncestorOrSelf(Func <IPublishedContent, bool> func)
 {
     return(PublishedContent.AncestorsOrSelf(true, func).FirstOrDefault().AsDynamicOrNull());
 }