Antaris/RazorEngine — Issue #30: How do you specify custom ITemplate class?
Author: scottnickel
Created: 2012-02-24 16:22:13+00:00
State: open

In order to implement @Html, @Raw or any other helper for MVC, you must write your own template class with Html and Raw properties.

Currently, internally, only TemplateBase and TemplateBase<> are supported.

So you can create a derived class, but you can't do anything with it.

What am I missing?