C# Class Web.ServeJsonForAjax

If the request is detected to be an Ajax Json request, serializes ViewData.Model to an EntityJsonActionResult
Inheritance: System.Web.Mvc.FilterAttribute, IActionFilter
显示文件 Open project: daxko/Usablog

Public Methods

Method Description
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void

Method Details

OnActionExecuted() public method

public OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
return void

OnActionExecuting() public method

public OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
return void