开发者

Razor helpers as editor templates

开发者 https://www.devze.com 2023-02-12 04:04 出处:网络
Is it possible to use razor @helper methods as Editor Templates, removing the need to separate the template from the view (in one-use scenari开发者_JAVA技巧os)?No, that\'s not possible. Custom templat

Is it possible to use razor @helper methods as Editor Templates, removing the need to separate the template from the view (in one-use scenari开发者_JAVA技巧os)?


No, that's not possible. Custom templates are defined in a separate file, but I agree that such functionality would be handy.

0

精彩评论

暂无评论...
验证码 换一张
取 消