Example #1
0
        public void Test_Extensions_BlockingCollectionExtensions_Collections_Partitioner()
        {
            var blockCollections = new BlockingCollection <int>(100);
            //集合观察者
            var s = new ObserverTestImp <int>(e => { }, e => { }, () => { });

            blockCollections.AddFromObservable <int>(s, false);
            blockCollections.Add(1);

            Assert.IsTrue(true);
        }