OK so i took a look at your source and learnt a lot! But I still don't think what i want is possible because the difference between our approaches, from what i can tell, is that I am using a RazorTemplate with a Placeholder to hold my functions and it looks like when you are using a Placeholder Composite calls TemplateDefinitionHelper.BindPlaceholders(...) and there doesn't seem to be anyway of getting access to the FunctionContextContainer it uses.
Let me know if you see an alternative but the whole point is that the user is able to create the "template" themselves so i will always need a Placeholder which means TemplateDefinitionHelper.BindPlaceholders(...) is always going to be a problem.
Let me know if you see an alternative but the whole point is that the user is able to create the "template" themselves so i will always need a Placeholder which means TemplateDefinitionHelper.BindPlaceholders(...) is always going to be a problem.