These are chat archives for Antaris/RazorEngine
BaseTemplateKey tk = new NameOnlyTemplateKey("page", ResolveType.Include, new NameOnlyTemplateKey(null, ResolveType.Include, new NameOnlyTemplateKey()));
*.cshtmlfile with a
TextReaderand pass that into
Engine.Razor.RunCompile(). I feel there has to be a cleaner way of doing this, especially with all the classes I am seeing like
TemplateKeyetc... I just cant seem to find a good example of how to use one or all of these to automatically parse a template which i have created in my project. any help would be much appreciated!