C# 클래스 vlko.core.Base.BaseController

Base controller with session.
상속: Controller
파일 보기 프로젝트 열기: vlko/vlko

공개 메소드들

메소드 설명
GetAjaxModelErrors ( ) : vlko.core.Base.AjaxModelErrorInfo[]

Gets the model errors in ajax format.

보호된 메소드들

메소드 설명
BeginExecute ( System.Web.Routing.RequestContext requestContext, System callback, object state ) : System.IAsyncResult
EndExecute ( System asyncResult ) : void
OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void

Called when authorization occurs.

RedirectToActionWithAjax ( string actionName, string controllerName = null, object routeValues = null, bool allowJsonGetRequest = false ) : System.Web.Mvc.ActionResult

Redirects to action with ajax support.

ViewWithAjax ( object model = null ) : System.Web.Mvc.ViewResult

Views the with ajax support.

ViewWithAjax ( string viewName, object model = null ) : System.Web.Mvc.ViewResult

Views the with ajax.

메소드 상세

BeginExecute() 보호된 메소드

protected BeginExecute ( System.Web.Routing.RequestContext requestContext, System callback, object state ) : System.IAsyncResult
requestContext System.Web.Routing.RequestContext
callback System
state object
리턴 System.IAsyncResult

EndExecute() 보호된 메소드

protected EndExecute ( System asyncResult ) : void
asyncResult System
리턴 void

GetAjaxModelErrors() 공개 메소드

Gets the model errors in ajax format.
public GetAjaxModelErrors ( ) : vlko.core.Base.AjaxModelErrorInfo[]
리턴 vlko.core.Base.AjaxModelErrorInfo[]

OnAuthorization() 보호된 메소드

Called when authorization occurs.
protected OnAuthorization ( System.Web.Mvc.AuthorizationContext filterContext ) : void
filterContext System.Web.Mvc.AuthorizationContext Information about the current request and action.
리턴 void

RedirectToActionWithAjax() 보호된 메소드

Redirects to action with ajax support.
protected RedirectToActionWithAjax ( string actionName, string controllerName = null, object routeValues = null, bool allowJsonGetRequest = false ) : System.Web.Mvc.ActionResult
actionName string Name of the action.
controllerName string Name of the controller.
routeValues object The route values.
allowJsonGetRequest bool if set to true [allow json get request].
리턴 System.Web.Mvc.ActionResult

ViewWithAjax() 보호된 메소드

Views the with ajax support.
protected ViewWithAjax ( object model = null ) : System.Web.Mvc.ViewResult
model object The model.
리턴 System.Web.Mvc.ViewResult

ViewWithAjax() 보호된 메소드

Views the with ajax.
protected ViewWithAjax ( string viewName, object model = null ) : System.Web.Mvc.ViewResult
viewName string Name of the view.
model object The model.
리턴 System.Web.Mvc.ViewResult