Interface IPathMatcher
Assembly: Steeltoe.Common.Abstractions.dll
Syntax
public interface IPathMatcher
Methods
|
Edit this page
View Source
Combine(String, String)
Declaration
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
Declaration
string ExtractPathWithinPattern(string pattern, string path)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
System.String |
path |
|
Returns
Type |
Description |
System.String |
|
|
Edit this page
View Source
Declaration
IDictionary<string, string> ExtractUriTemplateVariables(string pattern, string path)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
System.String |
path |
|
Returns
Type |
Description |
IDictionary<System.String, System.String> |
|
|
Edit this page
View Source
GetPatternComparer(String)
Declaration
IComparer<string> GetPatternComparer(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
IComparer<System.String> |
|
|
Edit this page
View Source
IsPattern(String)
Declaration
bool IsPattern(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Match(String, String)
Declaration
bool Match(string pattern, string path)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
MatchStart(String, String)
Declaration
bool MatchStart(string pattern, string path)
Parameters
Type |
Name |
Description |
System.String |
pattern |
|
System.String |
path |
|
Returns
Type |
Description |
System.Boolean |
|