コード例 #1
0
        public override void Map(Routing.Route route, IContainer container)
        {
            route.ThrowIfNull("route");
            container.ThrowIfNull("container");

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