Exemple #1
0
 /// <summary>
 /// Update the structure of the region template using the given template processor
 /// </summary>
 /// <param name="templateProcessor"></param>
 /// <returns></returns>
 public RcTemplate UpdateTemplate(RcTemplateProcessor templateProcessor)
 {
     return(templateProcessor.TransformTemplate(Template));
 }
Exemple #2
0
 /// <summary>
 /// Use the given region composer to visit all regions and tags in this template making changes
 /// to the template that include, but not limited to, generating text based on tag strings inside
 /// slot tags
 /// </summary>
 /// <param name="composer"></param>
 /// <returns></returns>
 public RcTemplate TransformUsing(RcTemplateProcessor composer)
 {
     return(composer.TransformTemplate(this));
 }