MVC6 TagHelpers with disposable
In the older MVC HTML Helpers, one could use IDisposable to wrap content - for example the BeginForm helper would automatically wrap *stuff* with a closing form tag <% using (Html.BeginForm()) {%> *stuff* <% } %> Is this wrapping of content supported with MVC6 TagHelpers? For example I would like this <widget-box title="My Title">Yay for content!</widget-box> to be expanded into a bootstrap widget-box with wrapping divs: <div class="widget-box"> <div class="widget-header"> <h4 class="widget-title">My Title</h4> </div> <div class="widget-body"> <div class="widget-main"> Yay for content! </div>