C# Class Snooze.ResourceActionInvoker

Find actions methods that match the HTTP method and has the requested Url type as the first parameter.
Inheritance: System.Web.Mvc.ControllerActionInvoker
Afficher le fichier Open project: nhsevidence/Snooze Class Usage Examples

Méthodes publiques

Méthode Description
FindActionMethod ( Type controllerType, Type urlType, string httpMethod ) : MethodInfo

Méthodes protégées

Méthode Description
CreateActionResult ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object actionReturnValue ) : System.Web.Mvc.ActionResult
FindAction ( ControllerContext controllerContext, System.Web.Mvc.ControllerDescriptor controllerDescriptor, string actionName ) : System.Web.Mvc.ActionDescriptor
InvokeActionMethod ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object>.IDictionary parameters ) : System.Web.Mvc.ActionResult

Private Methods

Méthode Description
CheckChildAction ( bool isChildaction, Type contollerType, string url ) : void
GetHttpMethod ( ControllerContext controllerContext ) : string
GetMethodInfo ( Type controllerType, Type urlType, string httpMethod ) : MethodInfo
GetUrlType ( ControllerContext controllerContext ) : Type
IsSnoozePartial ( ControllerContext controllerContext ) : bool

Method Details

CreateActionResult() protected méthode

protected CreateActionResult ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object actionReturnValue ) : System.Web.Mvc.ActionResult
controllerContext ControllerContext
actionDescriptor System.Web.Mvc.ActionDescriptor
actionReturnValue object
Résultat System.Web.Mvc.ActionResult

FindAction() protected méthode

protected FindAction ( ControllerContext controllerContext, System.Web.Mvc.ControllerDescriptor controllerDescriptor, string actionName ) : System.Web.Mvc.ActionDescriptor
controllerContext ControllerContext
controllerDescriptor System.Web.Mvc.ControllerDescriptor
actionName string
Résultat System.Web.Mvc.ActionDescriptor

FindActionMethod() public static méthode

public static FindActionMethod ( Type controllerType, Type urlType, string httpMethod ) : MethodInfo
controllerType System.Type
urlType System.Type
httpMethod string
Résultat System.Reflection.MethodInfo

InvokeActionMethod() protected méthode

protected InvokeActionMethod ( ControllerContext controllerContext, System.Web.Mvc.ActionDescriptor actionDescriptor, object>.IDictionary parameters ) : System.Web.Mvc.ActionResult
controllerContext ControllerContext
actionDescriptor System.Web.Mvc.ActionDescriptor
parameters object>.IDictionary
Résultat System.Web.Mvc.ActionResult