/// <summary> /// Registers the specified route. /// </summary> /// <param name="route">The route.</param> public virtual void Add(IRoute route) { Guard.ArgumentNotNull(route, "route"); route.Validate(); routes.Add(route); }