Exemplo n.º 1
0
        public override void Map(Routing.Route route, IContainer container)
        {
            route.ThrowIfNull("route");
            container.ThrowIfNull("container");

            if (_comparer != null)
            {
                route.RestrictByUrlFragments(_fragments, GetComparer(_comparer.Value));
            }
            else
            {
                route.RestrictByUrlFragments(_fragments);
            }
        }