Esempio n. 1
0
 public override void SetUp()
 {
     base.SetUp();
     _scheduler = new TestScheduler();
     _view      = new ThrottledView <int>(_ints, TimeSpan.FromMilliseconds(10), _scheduler);
     _scheduler.Start();
     _actual = _view.SubscribeAll();
 }
Esempio n. 2
0
 public override void SetUp()
 {
     base.SetUp();
     _view   = new ThrottledView <int>(_ints, TimeSpan.Zero, null);
     _actual = _view.SubscribeAll();
 }