コード例 #1
0
 public override void SetUp()
 {
     base.SetUp();
     _scheduler = new TestScheduler();
     _view      = new ReadOnlyThrottledView <int>(_ints, TimeSpan.FromMilliseconds(10), _scheduler);
     _scheduler.Start();
     _actual = _view.SubscribeAll();
 }
コード例 #2
0
 public override void SetUp()
 {
     base.SetUp();
     _view   = new ReadOnlyThrottledView <int>(_ints, TimeSpan.Zero, null);
     _actual = _view.SubscribeAll();
 }