Example #1
0
        public VersionedRoute(string template, int apiVersion, SysCode allowedTags, params string[] allowedClientVersionRangeString)
            : base(template)
        {
            AllowedClientVersionRangeList = new List <VersionRange>();

            foreach (var rangeString in allowedClientVersionRangeString)
            {
                AllowedClientVersionRangeList.Add(VersionRange.CreateVersionRangeFromString(rangeString));
            }

            AllowedTags = allowedTags;
            ApiVersion  = apiVersion;
        }