adoconnection / RazorEngineCore

.NET6 Razor Template Engine
MIT License
565 stars 84 forks source link

Fix for setting a custom namespace #85

Closed Yazwh0 closed 2 years ago

Yazwh0 commented 2 years ago

If the namespace is changed in the options, the Load fails as its hardcoded to 'TemplateNamespace'.

This passes the namespace through. I've used overrides so it can be called externally.