Beispiel #1
0
        public IncrementedIntegerProvider(int startAt = 0, int max = GeneratorLimit.Default)
        {
            var gen = new IntegerGenerator();

            _generator = new IteratorStepper <int>(gen
                                                   .GenerateIncremented(startAt, max));
        }
Beispiel #2
0
 public IntegerProvider(int min = int.MinValue, int max = int.MaxValue)
 {
     _min       = min;
     _max       = max;
     _generator = new IntegerGenerator();
 }