public virtual Route ToRoute() { var route = new Route(_pattern, null, getConstraints(), null); if (Input != null) { Input.AlterRoute(route); } return(route); }
public virtual Route ToRoute() { var route = new Route(PatternWithoutDefaultValues, null, getConstraints(), null); if (Input != null) { Input.AlterRoute(route); } _alterations.Each(x => x(route)); return(route); }