private static IEnumerable <IRestriction> CreateRestrictions(ValueMap map)
        {
            if ((map != null) && (map.Count > 0))
            {
                return(CreateRestrictions(map.GetContinousRanges()));
            }

            return(new List <IRestriction>());
        }
Esempio n. 2
0
		private static IEnumerable<IRestriction> CreateRestrictions(ValueMap map)
		{
			if ((map != null) && (map.Count > 0))
			{
				return CreateRestrictions(map.GetContinousRanges());
			}

			return new List<IRestriction>();
		}