Example #1
0
 public RegexExpressiveRouterRegistration(
     ExpressiveRouter router,
     Regex pathMatcher,
     string reversingPathFormat,
     IDictionary <Type, IObjectParserBase> objectConverters)
 {
     this.router              = router;
     this.pathMatcher         = pathMatcher;
     this.reversingPathFormat = reversingPathFormat;
     this.objectConverters    = objectConverters;
 }
 public StringExpressiveRouterRegistration(ExpressiveRouter router, string path)
 {
     this.router = router;
     this.path   = path;
 }