Render() public method

Renders this instance.
public Render ( ) : string
return string
        /// <summary>
        /// Renders a Twitter Bootstrap Button Component
        /// </summary>
        /// <param name="helper">The helper.</param>
        /// <param name="text">The text.</param>
        /// <param name="action">The action.</param>
        /// <param name="controller">The controller.</param>
        /// <param name="status">The status.</param>
        /// <param name="htmlAttributes">The HTML attributes.</param>
        /// <returns></returns>
        public static MvcHtmlString Button(this HtmlHelper helper, string text, string action, string controller = "", ButtonStatus status = ButtonStatus.Default, object htmlAttributes = null)
        {
            ButtonHelper button = new ButtonHelper(helper, GetStatusStrategy(status), text, action, controller, status, htmlAttributes);

            return(new MvcHtmlString(button.Render()));
        }
 /// <summary>
 /// Renders a Twitter Bootstrap Button Component
 /// </summary>
 /// <param name="helper">The helper.</param>
 /// <param name="text">The text.</param>
 /// <param name="action">The action.</param>
 /// <param name="controller">The controller.</param>
 /// <param name="status">The status.</param>
 /// <param name="htmlAttributes">The HTML attributes.</param>
 /// <returns></returns>
 public static MvcHtmlString Button(this HtmlHelper helper, string text, string action, string controller="", ButtonStatus status = ButtonStatus.Default, object htmlAttributes = null)
 {
     ButtonHelper button = new ButtonHelper(helper, GetStatusStrategy(status), text, action, controller, status, htmlAttributes);
     return new MvcHtmlString(button.Render());
 }