Пример #1
0
 /// <summary>
 /// Creates a new item instance
 /// </summary>
 /// <returns>The new item</returns>
 public T Create()
 {
     return((T)DynamicPage.CreateRegion(TypeId, RegionId));
 }
Пример #2
0
 /// <summary>
 /// Creates a new item instance
 /// </summary>
 /// <param name="api">The current api</param>
 /// <returns>The new item</returns>
 public T Create(IApi api)
 {
     return((T)DynamicPage.CreateRegion(api, TypeId, RegionId));
 }