C# Class MvcApi.ApiControllerActionSelector.ActionSelectorCacheItem

Datei anzeigen Open project: dax70/MvcApi

Public Methods

Method Description
ActionSelectorCacheItem ( System.Web.Mvc.ControllerDescriptor controllerDescriptor ) : System
SelectAction ( ControllerContext controllerContext ) : System.Web.Mvc.ActionDescriptor

Private Methods

Method Description
CreateAmbiguousMatchList ( IEnumerable ambiguousDescriptors ) : string
FilterActionResult ( ICollection descriptors ) : MvcApi.ApiActionDescriptor[]
FindActionUsingRouteAndQueryParameters ( ControllerContext controllerContext, IEnumerable actionsFound ) : IEnumerable
FindActionsForVerb ( string verb, ControllerContext controllerContext ) : MvcApi.ApiActionDescriptor[]
GetMatchingAliasedMethods ( ControllerContext controllerContext, string actionName ) : IEnumerable
IsMethodDecoratedWithAliasingAttribute ( System.Web.Mvc.ReflectedActionDescriptor actionDesc ) : bool
IsSupportedVerb ( string verb ) : bool
IsValid ( string incomingMethod, string actionName ) : bool
IsValidActionMethod ( MethodInfo methodInfo ) : bool
RemoveIncompatibleVerbs ( ControllerContext controllerContext, string incomingMethod, IEnumerable descriptorsFound ) : IEnumerable
RunSelectionFilters ( ControllerContext controllerContext, IEnumerable descriptors ) : List

Method Details

ActionSelectorCacheItem() public method

public ActionSelectorCacheItem ( System.Web.Mvc.ControllerDescriptor controllerDescriptor ) : System
controllerDescriptor System.Web.Mvc.ControllerDescriptor
return System

SelectAction() public method

public SelectAction ( ControllerContext controllerContext ) : System.Web.Mvc.ActionDescriptor
controllerContext ControllerContext
return System.Web.Mvc.ActionDescriptor