Example #1
0
 /// <summary>Static getter for Body Text</summary>
 public static IHtmlString GetBodyText(IGenericContent that)
 {
     return(that.GetPropertyValue <IHtmlString>("bodyText"));
 }
 public static string GetTitle(IGenericContent that) => that.Value <string>("title");
 public static string GetHead(IGenericContent that) => that.Value <string>("head");
 public static IPublishedContent GetImage(IGenericContent that) => that.Value <IPublishedContent>("image");
 public static IHtmlString GetContent(IGenericContent that) => that.Value <IHtmlString>("content");