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