예제 #1
0
 public static MvcHtmlString ImportInnerActionButton(this HtmlHelper html, string text, ImportModelLevel level, int id, ImportModelAction action,
                                                     ButtonColor color = ButtonColor.Default, ButtonSize size = ButtonSize.Default)
 {
     return(html.SubmitButton(text, "innerAction", string.Format("{0}.{1}.{2}", level, id, action), color, size));
 }
예제 #2
0
 public bool Equals(ImportModelLevel level, ImportModelAction action)
 {
     return(this.Level == level && this.Action == action);
 }