예제 #1
0
        public void AliasGenericBonded()
        {
            var from = new GenericBondedAlias <Foo> {
                lazy = new Lazy <Foo>(UnitTest.Random.Init <Foo>())
            };

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

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