示例#1
0
        public static void RewriteTo(this IMiddlerMapActionsBuilder builder, string rewriteTo)
        {
            var opts = new UrlRewriteOptions();

            opts.RewriteTo = rewriteTo;

            RewriteTo(builder, opts);
        }
示例#2
0
 public static void RewriteTo(this IMiddlerMapActionsBuilder builder, UrlRewriteOptions options)
 {
     builder.AddAction <UrlRewriteAction, UrlRewriteOptions>(options);
 }