阅读背景:

如何在ASP.NET MVC中定义视图级变量?

来源:互联网 

I have a cshtml partial view (Razor engine) that is used to render something recursively. I have two declarative HTML helper functions defined in this view and I need to share a variable between them. In other words, I want a view-level variable (not function-level variable). I have a cshtml partial view (Razor engine) tha




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

分享到: