是否有可能获得当前使用ViewEngine的ControllerContext或ViewEngineCollection?我想能够做到以下几点ViewEngines.GetCurrent.我知道我可以为该方法进行扩展,但我不知道如何实现它.
ViewEngine
ControllerContext
ViewEngineCollection
ViewEngines.GetCurrent
c# asp.net asp.net-mvc
asp.net ×1
asp.net-mvc ×1
c# ×1