Example #1
0
        public IPublishedProperty GetProperty(string alias, bool recurse)
        {
            if (alias.StartsWith("@"))
            {
                return(GetReflectedProperty(alias.Substring(1)));
            }

            // get wrap the result in a PropertyResult - just so it's an IHtmlString - ?!
            var property = PublishedContent.GetProperty(alias, recurse);

            return(property == null ? null : new PropertyResult(property, PropertyResultType.UserProperty));
        }
Example #2
0
 IPublishedProperty IPublishedContent.GetProperty(string alias)
 {
     return(PublishedContent.GetProperty(alias));
 }