C# Класс RunningObjects.Core.Controllers.ControllerBase

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

Защищенные методы

Метод Описание
CacheableView ( string viewName, Query query, Func modelAccessor, Action changeSettings ) : System.Web.Mvc.ActionResult
CreateInstanceOf ( Type modelType, Method method, ActionResult>.Func onSuccess, ActionResult>.Func onException ) : System.Web.Mvc.ActionResult
DeleteInstanceOf ( Type modelType, object key, Func onSuccess, ActionResult>.Func onException, Func onNotFound ) : System.Web.Mvc.ActionResult
EditInstanceOf ( Type modelType, Model model, ActionResult>.Func onSuccess, ActionResult>.Func onException, Func onNotFound ) : System.Web.Mvc.ActionResult
ExecuteMethodOf ( Type modelType, Method model, Func onSuccess, ActionResult>.Func onSuccessWithReturn, ActionResult>.Func onException, Func onNotFound, string key = null ) : System.Web.Mvc.ActionResult
GetDefaultQueryOf ( Type modelType ) : Query.Query
GetInstanceOf ( Type modelType, object key, ModelDescriptor descriptor ) : object
GetQueryById ( Type modelType ) : Query.Query
HandleException ( Exception ex ) : void
OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void
ParseResult ( Method model, object @return ) : object

Приватные методы

Метод Описание
GetKeyValues ( object key, ModelDescriptor descriptor ) : object

Описание методов

CacheableView() защищенный Метод

protected CacheableView ( string viewName, Query query, Func modelAccessor, Action changeSettings ) : System.Web.Mvc.ActionResult
viewName string
query RunningObjects.Core.Query.Query
modelAccessor Func
changeSettings Action
Результат System.Web.Mvc.ActionResult

CreateInstanceOf() защищенный Метод

protected CreateInstanceOf ( Type modelType, Method method, ActionResult>.Func onSuccess, ActionResult>.Func onException ) : System.Web.Mvc.ActionResult
modelType System.Type
method Method
onSuccess ActionResult>.Func
onException ActionResult>.Func
Результат System.Web.Mvc.ActionResult

DeleteInstanceOf() защищенный Метод

protected DeleteInstanceOf ( Type modelType, object key, Func onSuccess, ActionResult>.Func onException, Func onNotFound ) : System.Web.Mvc.ActionResult
modelType System.Type
key object
onSuccess Func
onException ActionResult>.Func
onNotFound Func
Результат System.Web.Mvc.ActionResult

EditInstanceOf() защищенный Метод

protected EditInstanceOf ( Type modelType, Model model, ActionResult>.Func onSuccess, ActionResult>.Func onException, Func onNotFound ) : System.Web.Mvc.ActionResult
modelType System.Type
model Model
onSuccess ActionResult>.Func
onException ActionResult>.Func
onNotFound Func
Результат System.Web.Mvc.ActionResult

ExecuteMethodOf() защищенный Метод

protected ExecuteMethodOf ( Type modelType, Method model, Func onSuccess, ActionResult>.Func onSuccessWithReturn, ActionResult>.Func onException, Func onNotFound, string key = null ) : System.Web.Mvc.ActionResult
modelType System.Type
model Method
onSuccess Func
onSuccessWithReturn ActionResult>.Func
onException ActionResult>.Func
onNotFound Func
key string
Результат System.Web.Mvc.ActionResult

GetDefaultQueryOf() защищенный Метод

protected GetDefaultQueryOf ( Type modelType ) : Query.Query
modelType System.Type
Результат Query.Query

GetInstanceOf() защищенный статический Метод

protected static GetInstanceOf ( Type modelType, object key, ModelDescriptor descriptor ) : object
modelType System.Type
key object
descriptor ModelDescriptor
Результат object

GetQueryById() защищенный Метод

protected GetQueryById ( Type modelType ) : Query.Query
modelType System.Type
Результат Query.Query

HandleException() защищенный Метод

protected HandleException ( Exception ex ) : void
ex System.Exception
Результат void

OnActionExecuted() защищенный Метод

protected OnActionExecuted ( System.Web.Mvc.ActionExecutedContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutedContext
Результат void

OnActionExecuting() защищенный Метод

protected OnActionExecuting ( System.Web.Mvc.ActionExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ActionExecutingContext
Результат void

OnException() защищенный Метод

protected OnException ( System.Web.Mvc.ExceptionContext filterContext ) : void
filterContext System.Web.Mvc.ExceptionContext
Результат void

OnResultExecuting() защищенный Метод

protected OnResultExecuting ( System.Web.Mvc.ResultExecutingContext filterContext ) : void
filterContext System.Web.Mvc.ResultExecutingContext
Результат void

ParseResult() защищенный Метод

protected ParseResult ( Method model, object @return ) : object
model Method
@return object
Результат object