Esempio n. 1
0
 /// <summary>
 /// Creates a new region.
 /// </summary>
 /// <param name="typeId">The block type id</param>
 /// <param name="regionId">The region id</param>
 /// <returns>The new region value</returns>
 public static object CreateRegion(string typeId, string regionId)
 {
     using (var factory = new ContentFactory(App.BlockTypes)) {
         return(factory.CreateRegion(typeId, regionId));
     }
 }