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)); }
IPublishedProperty IPublishedContent.GetProperty(string alias) { return(PublishedContent.GetProperty(alias)); }