Beispiel #1
0
 /// <summary>Static getter for Banner</summary>
 public static IEnumerable <IPublishedContent> GetBanner(ICompositionContent that)
 {
     return(that.GetPropertyValue <IEnumerable <IPublishedContent> >("banner"));
 }
Beispiel #2
0
 /// <summary>Static getter for Description</summary>
 public static string GetDescription(ICompositionContent that)
 {
     return(that.GetPropertyValue <string>("description"));
 }
Beispiel #3
0
 /// <summary>Static getter for Grid</summary>
 public static Newtonsoft.Json.Linq.JToken GetGrid(ICompositionContent that)
 {
     return(that.GetPropertyValue <Newtonsoft.Json.Linq.JToken>("grid"));
 }