C# Class Revenj.Http.UriPattern

Mostra file Open project: ngs-doo/revenj Class Usage Examples

Public Properties

Property Type Description
Groups int

Public Methods

Method Description
ExtractMatch ( string url, int offset ) : RouteMatch
Match ( string url, int offset ) : RouteMatch?
UriPattern ( string template ) : System

Private Methods

Method Description
BuildRegex ( string template ) : string
DynamicExtractMatch ( string url, int offset ) : RouteMatch
GetTokens ( string template ) : string[]
StaticExtractMatch ( string url, int offset ) : RouteMatch

Method Details

ExtractMatch() public method

public ExtractMatch ( string url, int offset ) : RouteMatch
url string
offset int
return RouteMatch

Match() public method

public Match ( string url, int offset ) : RouteMatch?
url string
offset int
return RouteMatch?

UriPattern() public method

public UriPattern ( string template ) : System
template string
return System

Property Details

Groups public_oe property

public int Groups
return int