Table of Contents

Class SimpleRouteMatcher

Namespace
Steeltoe.Common.Util
Assembly
Steeltoe.Common.dll
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

IPathMatcher

Methods

Combine(string, string)

public string Combine(string pattern1, string pattern2)

Parameters

pattern1 string
pattern2 string

Returns

string

GetPatternComparer(IRoute)

public IComparer<string> GetPatternComparer(IRoute route)

Parameters

route IRoute

Returns

IComparer<string>

IsPattern(string)

public bool IsPattern(string route)

Parameters

route string

Returns

bool

Match(string, IRoute)

public bool Match(string pattern, IRoute route)

Parameters

pattern string
route IRoute

Returns

bool

MatchAndExtract(string, IRoute)

public IDictionary<string, string> MatchAndExtract(string pattern, IRoute route)

Parameters

pattern string
route IRoute

Returns

IDictionary<string, string>

ParseRoute(string)

public IRoute ParseRoute(string route)

Parameters

route string

Returns

IRoute