...
Code Block | ||
---|---|---|
| ||
// instantiate the sub-template
Header header = this.Create<Header>();
// include the meta tag
header.IncludeMeta = true; |
In this case, IncludeMeta is a boolean property defined with a [Property
|http://docs.codesmithtools.com/display/Generator/Declaring+a+Simple+Property] directive in the sub-template.