Пример #1
0
 /// <summary>Static getter for Page Links</summary>
 public static Umbraco.Web.Models.RelatedLinks GetPageLinks(IDefaultContent that)
 {
     return(that.GetPropertyValue <Umbraco.Web.Models.RelatedLinks>("pageLinks"));
 }
Пример #2
0
 /// <summary>Static getter for Page Title</summary>
 public static string GetPageTitle(IDefaultContent that)
 {
     return(that.GetPropertyValue <string>("pageTitle"));
 }
Пример #3
0
 /// <summary>Static getter for Page Image</summary>
 public static IPublishedContent GetPageImage(IDefaultContent that)
 {
     return(that.GetPropertyValue <IPublishedContent>("pageImage"));
 }
Пример #4
0
 /// <summary>Static getter for Page RTE</summary>
 public static IHtmlString GetPageRte(IDefaultContent that)
 {
     return(that.GetPropertyValue <IHtmlString>("pageRTE"));
 }