Class SimpleRouteMatcher
Inheritance
System.Object
SimpleRouteMatcher
Assembly: Steeltoe.Common.dll
Syntax
public class SimpleRouteMatcher : object, IRouteMatcher
Constructors
|
Edit this page
View Source
SimpleRouteMatcher(IPathMatcher)
Declaration
public SimpleRouteMatcher(IPathMatcher pathMatcher)
Parameters
Properties
|
Edit this page
View Source
PathMatcher
Declaration
public IPathMatcher PathMatcher { get; }
Property Value
Methods
|
Edit this page
View Source
Combine(String, String)
Declaration
public string Combine(string pattern1, string pattern2)
Parameters
Type |
Name |
Description |
System.String |
pattern1 |
|
System.String |
pattern2 |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
GetPatternComparer(IRoute)
Declaration
public IComparer<string> GetPatternComparer(IRoute route)
Parameters
Type |
Name |
Description |
IRoute |
route |
|
Returns
Type |
Description |
IComparer<System.String> |
|
|
Edit this page
View Source
IsPattern(String)
Declaration
public bool IsPattern(string route)
Parameters
Type |
Name |
Description |
System.String |
route |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Match(String, IRoute)
Declaration
public bool Match(string pattern, IRoute route)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
IRoute |
route |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
MatchAndExtract(String, IRoute)
Declaration
public IDictionary<string, string> MatchAndExtract(string pattern, IRoute route)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
IRoute |
route |
|
Returns
Type |
Description |
IDictionary<System.String, System.String> |
|
|
Edit this page
View Source
ParseRoute(String)
Declaration
public IRoute ParseRoute(string route)
Parameters
Type |
Name |
Description |
System.String |
route |
|
Returns
Implements