如何创建一个帮助器,如Html.Form助手,当你关闭大括号时关闭标签?
It needs to implement IDisposable
and render the closing brace in the Dispose
method. You can then have the same using
behavior as with the HtmlForm helper.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.