Esempio n. 1
0
        public void prop_CancellationToken_set()
        {
            var expected = new CancellationToken();
            ThreadedObject obj = new DerivedThreadedObject
                                     {
                                         CancellationToken = expected
                                     };

            var actual = obj.CancellationToken;

            Assert.Equal(expected, actual);
        }
        public void prop_CancellationToken_set()
        {
            var            expected = new CancellationToken();
            ThreadedObject obj      = new DerivedThreadedObject
            {
                CancellationToken = expected
            };

            var actual = obj.CancellationToken;

            Assert.Equal(expected, actual);
        }