Example #1
0
 public DynamicPublishedContent Sibling(string contentTypeAlias)
 {
     return(PublishedContent.Previous(contentTypeAlias).AsDynamicOrNull());
 }
Example #2
0
 public bool IsNotLast()
 {
     return(PublishedContent.IsNotLast());
 }
Example #3
0
 public bool IsEven()
 {
     return(PublishedContent.IsEven());
 }
Example #4
0
 public bool IsNotModZero(int modulus)
 {
     return(PublishedContent.IsNotModZero(modulus));
 }
Example #5
0
 public bool IsNotPosition(int index)
 {
     return(PublishedContent.IsNotPosition(index));
 }
Example #6
0
 public bool IsNull(string alias, bool recursive)
 {
     return(PublishedContent.IsNull(alias, recursive));
 }
Example #7
0
 public bool IsFirst()
 {
     return(PublishedContent.IsFirst());
 }
Example #8
0
 public IHtmlString HasValue(string alias, bool recursive, string valueIfTrue)
 {
     return(PublishedContent.HasValue(alias, recursive, valueIfTrue));
 }
Example #9
0
        // for whatever reason, some methods returning strings were created in DynamicPublishedContent
        // and are now considered a "feature" as of v6. So we can't have the proper GetPropertyValue
        // methods returning objects, too. And we don't want to change it in v6 as that would be a
        // breaking change.

#if FIX_GET_PROPERTY_VALUE
        public object GetPropertyValue(string alias)
        {
            return(PublishedContent.GetPropertyValue(alias));
        }
Example #10
0
 public bool HasValue(string alias, bool recursive)
 {
     return(PublishedContent.HasValue(alias, recursive));
 }
Example #11
0
 public IHtmlString HasValue(string alias, string valueIfTrue)
 {
     return(PublishedContent.HasValue(alias, valueIfTrue));
 }
Example #12
0
 public bool HasValue(string alias)
 {
     return(PublishedContent.HasValue(alias));
 }
Example #13
0
 public bool HasProperty(string name)
 {
     return(PublishedContent.HasProperty(name));
 }
Example #14
0
 IPublishedProperty IPublishedContent.GetProperty(string alias)
 {
     return(PublishedContent.GetProperty(alias));
 }
Example #15
0
 public bool IsVisible()
 {
     return(PublishedContent.IsVisible());
 }
Example #16
0
 public object GetPropertyValue(string alias, string defaultValue)
 {
     return(PublishedContent.GetPropertyValue(alias, defaultValue));
 }
Example #17
0
 public bool IsDocumentType(string docTypeAlias)
 {
     return(PublishedContent.IsDocumentType(docTypeAlias));
 }
Example #18
0
 public object GetPropertyValue(string alias, bool recurse, object defaultValue)
 {
     return(PublishedContent.GetPropertyValue(alias, recurse, defaultValue));
 }
Example #19
0
 public bool IsNull(string alias)
 {
     return(PublishedContent.IsNull(alias, false));
 }
Example #20
0
 public T GetPropertyValue <T>(string alias)
 {
     return(PublishedContent.GetPropertyValue <T>(alias));
 }
Example #21
0
 public HtmlString IsNotFirst(string valueIfTrue)
 {
     return(PublishedContent.IsNotFirst(valueIfTrue));
 }
Example #22
0
 public T GetPropertyValue <T>(string alias, bool recurse, T defaultValue)
 {
     return(PublishedContent.GetPropertyValue(alias, recurse, defaultValue));
 }
Example #23
0
 public HtmlString IsNotModZero(int modulus, string valueIfTrue, string valueIfFalse)
 {
     return(PublishedContent.IsNotModZero(modulus, valueIfTrue, valueIfFalse));
 }
Example #24
0
 public DynamicPublishedContentList SearchChildren(string term, bool useWildCards = true, string searchProvider = null)
 {
     return(new DynamicPublishedContentList(PublishedContent.SearchChildren(term, useWildCards, searchProvider)));
 }
Example #25
0
 public HtmlString IsNotPosition(int index, string valueIfTrue, string valueIfFalse)
 {
     return(PublishedContent.IsNotPosition(index, valueIfTrue, valueIfFalse));
 }
Example #26
0
 public DynamicPublishedContentList Search(Examine.SearchCriteria.ISearchCriteria criteria, Examine.Providers.BaseSearchProvider searchProvider = null)
 {
     return(new DynamicPublishedContentList(PublishedContent.Search(criteria, searchProvider)));
 }
Example #27
0
 public HtmlString IsNotLast(string valueIfTrue, string valueIfFalse)
 {
     return(PublishedContent.IsNotLast(valueIfTrue, valueIfFalse));
 }
Example #28
0
 public int Index()
 {
     return(PublishedContent.GetIndex());
 }
Example #29
0
 public HtmlString IsEven(string valueIfTrue)
 {
     return(PublishedContent.IsEven(valueIfTrue));
 }
Example #30
0
 public DynamicPublishedContent Sibling(int number)
 {
     return(PublishedContent.Previous(number).AsDynamicOrNull());
 }