/// <summary> /// Releases unmanaged and, optionally, managed resources used by the current instance of the <see cref="T:System.Web.Mvc.Html.MvcForm"/> class. /// </summary> /// <param name="disposing">true to release both managed and unmanaged resources; false to release only unmanaged resources.</param> protected virtual void Dispose(bool disposing) { if (this._disposed) { return; } this._disposed = true; _editFrame.RenderLastPart(_writer); }
public void Dispose() { editFrame.RenderLastPart(htmlWriter); htmlWriter.Dispose(); }
/// <summary> /// Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. /// </summary> public void Dispose() { _frame.RenderLastPart(_writer); }