Пример #1
0
        public MockObserver(Microsoft.Reactive.Testing.TestScheduler scheduler,
                            long absoluteEndTime)
        {
            if (scheduler == null)
            {
                throw new ArgumentNullException("scheduler");
            }

            this.scheduler       = scheduler;
            this.absoluteEndTime = absoluteEndTime;
            this.messages        = new List <Recorded <Notification <T> > >();
        }
Пример #2
0
 public MockObserver(TestScheduler scheduler)
 {
     this._scheduler = scheduler ?? throw new ArgumentNullException(nameof(scheduler));
     _messages       = new List <Recorded <Notification <T> > >();
 }