Exemplo n.º 1
0
        public static void TestPartialClasses()
        {
            var pClass = new Partial();

            Assert("CstorA", pClass.InnerValue);

            pClass = new Partial(1);
            Assert("CstorB", pClass.InnerValue);

            Assert(1, pClass.MethodA());
            Assert(2, pClass.MethodB());
            Assert(3, pClass.MethodC());
        }