void ProcessTemplateChildren (ControlBuilder builder)
{
ArrayList templates = builder.TemplateChildren;
if (templates != null && templates.Count > 0) {
foreach (TemplateBuilder tb in templates) {
CreateControlTree (tb, true, false);
if (tb.BindingDirection == BindingDirection.TwoWay) {
string extractMethod = CreateExtractValuesMethod (tb);
AddBindableTemplateInvocation (builder, tb.TagName, tb.Method.Name, extractMethod);
} else
AddTemplateInvocation (builder, tb.TagName, tb.Method.Name);
}
}
}