Esempio n. 1
0
        public void Disposed()
        {
            var up = new MaybeSubject <int>();

            IObservable <int> o = up.ToObservable <int>();

            var to = o.Test();

            Assert.True(up.HasObserver());

            to.Dispose();

            Assert.False(up.HasObserver());
        }