示例#1
0
 /// <summary>
 /// Registers a region with the template.
 /// </summary>
 /// <param name="placeHolder">Placeholder which will
 /// get controls to render.</param>
 public void RegisterRegion(RegionPlaceHolder placeHolder)
 {
     this.regions.Add(placeHolder.RegionId, placeHolder);
 }
示例#2
0
 /// <summary>
 /// Registers a region with the template.
 /// </summary>
 /// <param name="placeHolder">Placeholder which will
 /// get controls to render.</param>
 public void RegisterRegion(RegionPlaceHolder placeHolder)
 {
     this.regions.Add(placeHolder.RegionId, placeHolder);
 }