コード例 #1
0
 public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes)
 {
     return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, htmlAttributes));
 }
コード例 #2
0
 public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions)
 {
     return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, null));
 }
コード例 #3
0
 public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, Task <ActionResult> taskResult, AjaxOptions ajaxOptions, object htmlAttributes)
 {
     return(ajaxHelper.BeginRouteForm(routeName, taskResult.Result, ajaxOptions, HtmlHelper.AnonymousObjectToHtmlAttributes(htmlAttributes)));
 }
コード例 #4
0
 public static MvcForm BeginRouteForm(this AjaxHelper ajaxHelper, string routeName, ActionResult result, AjaxOptions ajaxOptions, IDictionary <string, object> htmlAttributes)
 {
     return(ajaxHelper.BeginRouteForm(routeName, result.GetRouteValueDictionary(), ajaxOptions, htmlAttributes));
 }