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

            return(new List <IRestriction>());
        }
コード例 #2
0
ファイル: Program.cs プロジェクト: plocklsh/lwip
		private static IEnumerable<IRestriction> CreateRestrictions(ValueMap map)
		{
			if ((map != null) && (map.Count > 0))
			{
				return CreateRestrictions(map.GetContinousRanges());
			}

			return new List<IRestriction>();
		}