阅读背景:

如何在HtmlHelper扩展中支持htmlAttributes参数?

来源:互联网 

I'm creating HtmlHelper extension methods. Many of the built-in framework methods support parameters like htmlAttributes (of type object) that get rendered onto the resultant HTML. How can I provide overloads of my own methods that also support an htmlAttributes parameter without rewriting the string concatenation logic to render them as attributes on the tag?I'm creating HtmlHelper extension methods. Many




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

分享到: