public MvcHtmlString Button(string text, State state, string onClick = null, object htmlAttributes = null) { return(provider.Button(text, state, onClick, htmlAttributes)); }
public void AddButton(TextWriter writer, string text, State state, string onClick = null, object htmlAttributes = null) { var button = uiProvider.Button(text, state, onClick, htmlAttributes); writer.Write(button.ToString()); }