Class SimpleRouteMatcher
public class SimpleRouteMatcher : IRouteMatcher
- Inheritance
-
SimpleRouteMatcher
- Implements
- Inherited Members
Constructors
SimpleRouteMatcher(IPathMatcher)
public SimpleRouteMatcher(IPathMatcher pathMatcher)
Parameters
pathMatcher
IPathMatcher
Properties
PathMatcher
public IPathMatcher PathMatcher { get; }
Property Value
Methods
Combine(string, string)
public string Combine(string pattern1, string pattern2)
Parameters
Returns
GetPatternComparer(IRoute)
public IComparer<string> GetPatternComparer(IRoute route)
Parameters
route
IRoute
Returns
IsPattern(string)
public bool IsPattern(string route)
Parameters
route
string
Returns
Match(string, IRoute)
public bool Match(string pattern, IRoute route)
Parameters
Returns
MatchAndExtract(string, IRoute)
public IDictionary<string, string> MatchAndExtract(string pattern, IRoute route)
Parameters
Returns
ParseRoute(string)
public IRoute ParseRoute(string route)
Parameters
route
string