These are chat archives for Antaris/RazorEngine

24th
Jun 2016
Paul Lee
@WalkingMist
Jun 24 2016 10:30
Hi, I would like to know is there anyway I can get the ViewModel type from TemplateKey?
Matthias Dittrich
@matthid
Jun 24 2016 12:36
@WalkingMist No, because the default caching provider allows to compile the same template with different types: https://github.com/Antaris/RazorEngine/blob/master/src/source/RazorEngine.Core/Templating/InvalidatingCachingProvider.cs#L23