예제 #1
0
        private static LambdaRange <char> CreateRange(char from, char to)
        {
            // TODO: Check for overlaps
            LambdaRange <char> ret = new LambdaRange <char>(from, to);

            __allRanges.Add(ret);
            return(ret);
        }
예제 #2
0
 public static ReadOnlyRange <T> AsReadOnly <T>([NotNull] this LambdaRange <T> thisValue)
     where T : struct, IComparable
 {
     return(new ReadOnlyRange <T>(thisValue));
 }