예제 #1
0
 public AtLeastXSelector(int amout, RangeSelector <T> source)
 {
     Amout  = amout;
     Source = source;
 }
예제 #2
0
 public FixedLengthSelector(int count, Predicate <IEnumerable <T> > predicate)
 {
     Predicate  = predicate;
     Source     = new AllSelector <T>();
     this.count = count;
 }
예제 #3
0
 public static AtLeastXSelector <T> AtLeast <T> (this RangeSelector <T> source, int amout)
 => new AtLeastXSelector <T>(amout, source);
예제 #4
0
 public WhereSelector(Predicate <T> predicate, RangeSelector <T> source)
 {
     Predicate = (a, b) => predicate(a);
     Source    = source;
 }
예제 #5
0
 public FixedLengthSelector(int count, Predicate <IEnumerable <T> > predicate, RangeSelector <T> source)
 {
     Predicate  = predicate;
     Source     = source;
     this.count = count;
 }
예제 #6
0
 public static WhereSelector <T> Where <T> (this RangeSelector <T> source, Func <T, IEnumerable <T>, bool> predicate)
 => new WhereSelector <T>(predicate, source);
예제 #7
0
 public static WhereSelector <T> Where <T> (this RangeSelector <T> source, Predicate <T> predicate)
 => new WhereSelector <T>(predicate, source);
예제 #8
0
 public WhereSelector(Func <T, IEnumerable <T>, bool> predicate)
 {
     Predicate = predicate;
     Source    = new AllSelector <T>();
 }
예제 #9
0
 public WhereSelector(Predicate <T> predicate)
 {
     Predicate = (a, b) => predicate(a);
     Source    = new AllSelector <T>();
 }
예제 #10
0
 public WhereSelector(Func <T, IEnumerable <T>, bool> predicate, RangeSelector <T> source)
 {
     Predicate = predicate;
     Source    = source;
 }