Razor.Compile It is not required to specify the type of model at compilation.
public class ActualType { public string Firstname {get;set;}}
Razor.Compile("@Model.Firstname", "outputname");
Razor.Run<ActualType>(model, "outputname");
Should work just fine for you.
@model . (http://razorengine.codeplex.com/SourceControl/list/patches), , . , MVC RazorEngine , , , MVC ( , )
v2.2, .
, , , , .
, @model template<t>. , , . , , ... .