C# Class MvcApi.ActionMethodSelector

Exibir arquivo Open project: dax70/MvcApi

Public Methods

Method Description
ActionMethodSelector ( Type controllerType ) : System
FindActionMethod ( System.Web.Mvc.ControllerContext controllerContext, string actionName ) : MethodInfo

Private Methods

Method Description
CreateAmbiguousMatchException ( List ambiguousMethods, string actionName ) : AmbiguousMatchException
GetMatchingAliasedMethods ( System.Web.Mvc.ControllerContext controllerContext, string actionName ) : List
IsMethodDecoratedWithAliasingAttribute ( MethodInfo methodInfo ) : bool
IsValidActionMethod ( MethodInfo methodInfo ) : bool
PopulateLookupTables ( ) : void
RunSelectionFilters ( System.Web.Mvc.ControllerContext controllerContext, List methodInfos ) : List

Method Details

ActionMethodSelector() public method

public ActionMethodSelector ( Type controllerType ) : System
controllerType System.Type
return System

FindActionMethod() public method

public FindActionMethod ( System.Web.Mvc.ControllerContext controllerContext, string actionName ) : MethodInfo
controllerContext System.Web.Mvc.ControllerContext
actionName string
return System.Reflection.MethodInfo