Пример #1
0
        public void AliasBonded()
        {
            var from = new BondedAlias {
                lazy = new Lazy <Foo>(UnitTest.Random.Init <Foo>())
            };

            TestTypeAliases(from);
        }
        public void AliasBonded()
        {
            var from = new BondedAlias {
                lazy = new Lazy <Foo>(UnitTest.Random.Init <Foo>())
            };

            Assert.IsTrue(Reflection.IsBonded(typeof(Lazy <Foo>)));
            TestTypeAliases(from);
        }