C# 클래스 Simplify.Web.Routing.RouteMatcher

Provides HTTP route parser and matcher
상속: IRouteMatcher
파일 보기 프로젝트 열기: i4004/Simplify.Web

공개 메소드들

메소드 설명
Match ( string currentPath, string controllerPath ) : IRouteMatchResult

Matches the current path with controller path. Only "/", "/action", "/action/{userName}/{id}", "/action/{id:int}", "/{id}" etc. route types allowed

RouteMatcher ( IControllerPathParser controllerPathParser ) : System

Initializes a new instance of the RouteMatcher class.

비공개 메소드들

메소드 설명
GetBoolArrayParameterValue ( string source ) : IList
GetBoolParameterValue ( string source ) : object
GetDecimalArrayParameterValue ( string source ) : IList
GetDecimalParameterValue ( string source ) : object
GetIntArrayParameterValue ( string source ) : IList
GetIntParameterValue ( string source ) : object
GetParameterValue ( PathParameter pathParameter, string source ) : object
GetStringArrayParameterValue ( string source ) : IList

메소드 상세

Match() 공개 메소드

Matches the current path with controller path. Only "/", "/action", "/action/{userName}/{id}", "/action/{id:int}", "/{id}" etc. route types allowed
public Match ( string currentPath, string controllerPath ) : IRouteMatchResult
currentPath string The current path.
controllerPath string The controller path.
리턴 IRouteMatchResult

RouteMatcher() 공개 메소드

Initializes a new instance of the RouteMatcher class.
public RouteMatcher ( IControllerPathParser controllerPathParser ) : System
controllerPathParser IControllerPathParser The controller path parser.
리턴 System