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