I'm trying to use Spark as a general rendering engine, similar to what is
done in this example<http://whereslou.com/2008/12/16/using-spark-as-a-general-purpose-temp...>.
However, I'd like to be able to use a nested class within a generic as the
base type, as in:
public class SparkEmailRenderer<DataType>
My very simple test case is this:
I keep getting a dynamic view compilation error on public class
Test.Assembly.Name, Version=22.214.171.124, Culture=neutral,
If I change the line about SparkSettings settings = new
SparkSettings().SetPageBaseType(typeof(RendererView)); to just be the
it works, but that obviously won't work in the real world.
Any ideas on how to get that class name to render correctly? Do I have to
do it myself, or is there a way to get Spark to figure it out?