阅读背景:

在HtmlHelper扩展方法期间正在执行哪个操作

来源:互联网 

I'm working on a menu-generating HtmlHelper extension method. This method will need to know which Action is being executed. So if Home/Index is executing, the extension method would show all links to other actions that're "coordinated." In a sense, all I need to know during the execution of the Home controller's Index action is the name of the Controller and the name of the Action that are being executed so that other logic can be executed. Is this possible?I'm working on a menu-generating HtmlHelper ext




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: