要导入命名空间,我知道如何使用@using MyNamespace.有谁知道如何在所有剃刀视图中全局导入命名空间?
我听说过AddGlobalImport方法,但不知道如何使用它
asp.net-mvc-3
asp.net-mvc-3 ×1