toddams / RazorLight

Template engine based on Microsoft's Razor parsing engine for .NET Core
Apache License 2.0
1.52k stars 259 forks source link

IRazorEngineLight methods not marked obsolete #284

Closed HamiltonManalo closed 4 years ago

HamiltonManalo commented 4 years ago

If you use IRazorLightEngine for dependency injection instead of the implementation of RazorLightEngine you do not see the obsolete highlighting in Visual Studio. This may cause issues for existing and new users as methods marked obsolete have had their implementation removed and throw exceptions now.