public override void Map(Routing.Route route, IContainer container) { route.ThrowIfNull("route"); container.ThrowIfNull("container"); var httpRuntime = container.GetInstance<IHttpRuntime>(); if (_comparer != null) { route.RestrictByUrlRelativePaths(_relativePaths, GetComparer(_comparer.Value), httpRuntime); } else { route.RestrictByUrlRelativePaths(_relativePaths, httpRuntime); } }