buildprovider

.NET - Razor outside MVC application - Problems with removing @inherits and providing @model

怎甘沉沦 提交于 2019-12-07 10:08:20
问题 Sorry for the long question. I broke it up into three problems which can be read separately. If you're able to help me with one problem, please do! I have a custom implementation of a Razor engine in place. All works and templates are compiled and can be used. There is some implementation at hand which involves a baseclass having a generic Model property that allows for strongly typed views (templates). At this point I'm using an @inherits directive to define the baseclass and it's generic