Ejemplo n.º 1
0
        public void CallWithStringType()
        {
            ReferencedCode.PrintMethod(typeof(string));

            var code = new ReferencedCode();

            code.Print <object>(typeof(string));
        }
Ejemplo n.º 2
0
        public void CallWithStringType()
        {
            ReferencedCode.PrintMethod <string>();

            var code = new ReferencedCode();

            code.Print <object, string>();
        }
Ejemplo n.º 3
0
        public void CallWithIntType()
        {
            ReferencedCode.PrintMethod(typeof(int));

            var code = new ReferencedCode();

            code.Print <object>(typeof(int));
        }
Ejemplo n.º 4
0
        public void CallWithIntType()
        {
            ReferencedCode.PrintMethod <int>();

            var code = new ReferencedCode();

            code.Print <object, int>();
        }