Beispiel #1
0
 public static IValueSet OfRanges(Range first, params Range[] rest)
 {
     return(SortedRangeSet.CopyOf(first.Type, rest));
 }
Beispiel #2
0
 public static IValueSet CopyOfRanges(IType type, IEnumerable <Range> ranges)
 {
     return(SortedRangeSet.CopyOf(type, ranges));
 }
Beispiel #3
0
 public static IValueSet CopyOf(IType type, IEnumerable <object> values)
 {
     return(SortedRangeSet.CopyOf(type, values.Select(x => Range.Equal(type, x))));
 }