Exemplo n.º 1
0
 public void SetupData()
 {
     _fakes = new ObservableCollection <Fake>(Enumerable.Range(-5, 10).Select(x => new Fake {
         Value = x
     }));
     _tracker?.Dispose();
     _tracker = _fakes.TrackMin(x => x.Value, -1, false);
     _changeTracker?.Dispose();
     _changeTracker = _fakes.TrackMin(x => x.Value, -1, true);
 }
Exemplo n.º 2
0
 public void SetupData()
 {
     _ints = new ObservableCollection <int>(Enumerable.Range(-5, 10));
     _tracker?.Dispose();
     _tracker = _ints.TrackMin(-1);
 }