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