C# Класс vlko.core.Base.BaseController

Base controller with session.
Наследование: Controller
Показать файл Открыть проект

Открытые методы

Метод Описание
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