Beispiel #1
0
        public void TestResetRootSourceWrapper()
        {
            OcConsumer consumer = new OcConsumer();
            MyObservableCollection <int> items1 = new MyObservableCollection <int>(new []
            {
                0,
                1,
                2
            });


            var selecting = items1.Selecting(i => i).For(consumer);

            items1.Reset(new []
            {
                0,
                1,
                2,
                3,
                4,
                5
            });

            selecting.ValidateInternalConsistency();
            consumer.Dispose();
        }