예제 #1
0
 /// <summary>Static getter for Banner</summary>
 public static IEnumerable <IPublishedContent> GetBanner(ICompositionContent that)
 {
     return(that.GetPropertyValue <IEnumerable <IPublishedContent> >("banner"));
 }
예제 #2
0
 /// <summary>Static getter for Description</summary>
 public static string GetDescription(ICompositionContent that)
 {
     return(that.GetPropertyValue <string>("description"));
 }
예제 #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"));
 }