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