Razor helpers as editor templates
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.
精彩评论