RazorEngineCore icon indicating copy to clipboard operation
RazorEngineCore copied to clipboard

Template Delegates are not supported

Open SaphireLattice opened this issue 3 years ago • 3 comments

It seems that they are added via the builder in RazorProjectEngine, with TemplateTargetExtension. But builder method is completely inaccessible and impossible to extend with current API? That's kinda surprising it is not accessible and not able to be extended...

SaphireLattice avatar Feb 15 '22 21:02 SaphireLattice

we can fix that :)

adoconnection avatar Feb 15 '22 23:02 adoconnection

I'm guessing passing it as part of the options would work?

Oh also, the builder allows setting the default base class from which the template inherits, meaning that there's no need to append "@inherits" for default stuff as a text to the template?

SaphireLattice avatar Feb 16 '22 07:02 SaphireLattice

we can fix that :)

Are there still plans to implement this?

thomas-parrish avatar Jul 27 '22 20:07 thomas-parrish