コード例 #1
0
 public MvcHtmlString Button(string text, State state, string onClick = null, object htmlAttributes = null)
 {
     return(provider.Button(text, state, onClick, htmlAttributes));
 }
コード例 #2
0
        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());
        }