public void Add(string name, string template, IEnumerable<RouteConfigurationParameter> defaultParameters = null) { var entry = new RouteConfiguration { Name = name, Template = template, DefaultParameters = defaultParameters }; Add(entry); }
public void Add(RouteConfiguration entry) { _configurations.Add(entry); }