Esempio n. 1
0
 internal RoutePipelineBuilder(CommandRouteBuilder commandRouteBuilder, HttpVerb verb, string routeTemplate)
 {
     CommandRouteBuilder = commandRouteBuilder;
     Verb          = verb;
     RouteTemplate = routeTemplate;
 }
 public static RoutePipelineBuilder Put(this CommandRouteBuilder builder, string routeTemplate)
 {
     return(new RoutePipelineBuilder(builder, HttpVerb.Put, routeTemplate));
 }