Constructor RegexRouteAttribute
RegexRouteAttribute(RouteMethod, string)
Creates an new RouteGetAttribute attribute instance with given path.
public RegexRouteAttribute(RouteMethod method, string pattern)
Parameters
method
RouteMethodThe route entry point method.
pattern
stringThe Regex pattern which will match the route.