/// <summary> /// Route used by the AttributeRouting framework in self-host projects. /// </summary> public HttpAttributeRoute(string url, HttpRouteValueDictionary defaults, HttpRouteValueDictionary constraints, HttpRouteValueDictionary dataTokens, HttpConfigurationBase configuration) : base(url, defaults, constraints, dataTokens, configuration.MessageHandler) { _configuration = configuration; }
/// <summary> /// Route used by the AttributeRouting framework in self-host projects. /// </summary> public HttpAttributeRoute(string url, HttpRouteValueDictionary defaults, HttpRouteValueDictionary constraints, HttpRouteValueDictionary dataTokens, HttpConfigurationBase configuration) : base(url, defaults, constraints, dataTokens, configuration.MessageHandler) { _configuration = configuration; _visitor = new AttributeRouteVisitor(this, configuration); QueryStringConstraints = new RouteValueDictionary(); QueryStringDefaults = new RouteValueDictionary(); }
public AttributeRouteFactory(HttpConfigurationBase configuration) { _configuration = configuration; }
public RouteConstraintFactory(HttpConfigurationBase configuration) { _configuration = configuration; }