Example #1
0
 public static RouteConventionExpression RegexUrlPolicy(
     this RouteConventionExpression routeConvention,
     Action <RegexUrlPolicyDsl> configure)
 {
     routeConvention.UrlPolicy(FubuMVC.RegexUrlPolicy.RegexUrlPolicy.Create(configure));
     return(routeConvention);
 }
Example #2
0
 public static RouteConventionExpression RegexUrlPolicy(
     this RouteConventionExpression routeConvention,
     Func <ActionCall, bool> matchFilter,
     Action <RegexUrlPolicyDsl> configure)
 {
     routeConvention.UrlPolicy(FubuMVC.RegexUrlPolicy.RegexUrlPolicy.Create(matchFilter, configure));
     return(routeConvention);
 }
Example #3
0
 public static RouteConventionExpression RegexUrlPolicy(
     this RouteConventionExpression routeConvention)
 {
     routeConvention.UrlPolicy(FubuMVC.RegexUrlPolicy.RegexUrlPolicy.Create());
     return(routeConvention);
 }