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