Example #1
0
 public NSIntRangeByLength(NSIntRange otherRange, int length)
     : base(otherRange, 1)
 {
     start       = wrap(start, length);
     stop        = wrap(stop, length);
     this.length = length;
 }
Example #2
0
 public NSIntRange(NSIntRange otherRange, int increment)
     : this(otherRange.start, otherRange.stop, otherRange.inclusive)
 {
     this.increment = increment;
     setCompare();
 }