C# Class Pomona.RequestProcessing.HandlerMethod

Show file Open project: Pomona/Pomona Class Usage Examples

Public Methods

Method Description
HandlerMethod ( MethodInfo methodInfo, TypeMapper typeMapper ) : System
Match ( HttpMethod method, PathNodeType nodeType, TypeSpec resourceType ) : RouteAction
NameStartsWith ( HttpMethod method ) : bool
ReturnsType ( Type returnType ) : bool

Private Methods

Method Description
MatchCollectionNodeRequest ( HttpMethod method, ResourceType resourceType ) : RouteAction
MatchMethodReturningQueryable ( ResourceType resourceType ) : RouteAction
MatchMethodTakingExistingResource ( ResourceType resourceType ) : RouteAction
MatchMethodTakingExistingResourceAndForm ( ResourceType resourceType ) : RouteAction
MatchMethodTakingForm ( ResourceType resourceType ) : RouteAction
MatchMethodTakingPatchedExistingResource ( ResourceType resourceType ) : RouteAction
MatchMethodTakingResourceId ( ResourceType resourceType ) : RouteAction
MatchResourceNodeRequest ( HttpMethod httpMethod, ResourceType resourceType ) : RouteAction

Method Details

HandlerMethod() public method

public HandlerMethod ( MethodInfo methodInfo, TypeMapper typeMapper ) : System
methodInfo System.Reflection.MethodInfo
typeMapper TypeMapper
return System

Match() public method

public Match ( HttpMethod method, PathNodeType nodeType, TypeSpec resourceType ) : RouteAction
method HttpMethod
nodeType PathNodeType
resourceType TypeSpec
return Pomona.Routing.RouteAction

NameStartsWith() public method

public NameStartsWith ( HttpMethod method ) : bool
method HttpMethod
return bool

ReturnsType() public method

public ReturnsType ( Type returnType ) : bool
returnType System.Type
return bool