private RouteHandler AddImplicitRouteHandler(IManosModule module, string [] patterns, HttpMethod [] methods) { module.StartInternal(); module.Routes.IsImplicit = true; module.Routes.Patterns = patterns; module.Routes.Methods = methods; Routes.Children.Add(module.Routes); return(module.Routes); }
private RouteHandler AddImplicitRouteHandlerForModule(IManosModule module, IMatchOperation [] ops, HttpMethod [] methods) { module.StartInternal(); module.Routes.IsImplicit = true; module.Routes.MatchOps = ops; module.Routes.Methods = methods; Routes.Children.Add(module.Routes); return(module.Routes); }
private RouteHandler AddRouteHandler(IManosModule module, string [] patterns, HttpMethod [] methods) { if (module == null) { throw new ArgumentNullException("module"); } if (patterns == null) { throw new ArgumentNullException("patterns"); } if (methods == null) { throw new ArgumentNullException("methods"); } module.StartInternal(); module.Routes.Patterns = patterns; module.Routes.Methods = methods; Routes.Children.Add(module.Routes); return(module.Routes); }
private RouteHandler AddRouteHandler(IManosModule module, string [] patterns, HttpMethod [] methods) { if (module == null) throw new ArgumentNullException ("module"); if (patterns == null) throw new ArgumentNullException ("patterns"); if (methods == null) throw new ArgumentNullException ("methods"); module.StartInternal (); module.Routes.MatchOps = SimpleOpsForPatterns (patterns); module.Routes.Methods = methods; Routes.Children.Add (module.Routes); return module.Routes; }
private RouteHandler AddImplicitRouteHandlerForModule(IManosModule module, IMatchOperation [] ops, HttpMethod [] methods) { module.StartInternal (); module.Routes.IsImplicit = true; module.Routes.MatchOps = ops; module.Routes.Methods = methods; Routes.Children.Add (module.Routes); return module.Routes; }
private RouteHandler AddImplicitRouteHandler(IManosModule module, string [] patterns, HttpMethod [] methods) { module.StartInternal (); module.Routes.IsImplicit = true; module.Routes.Patterns = patterns; module.Routes.Methods = methods; Routes.Children.Add (module.Routes); return module.Routes; }