예제 #1
0
        static void Main(string[] args)
        {
            IBusinessModule module = new BusinessModule();
            module.Method1();

            Console.WriteLine("---------------");

            module = new BusinessModuleProxy();
            module.Method1();
        }
예제 #2
0
        static void Main(string[] args)
        {
            //IBusinessModule bm = new BusinessModule();
            //bm.Method1();

            IBusinessModule bmProxy = new BusinessModuleProxy();

            bmProxy.Method1();
            ReadKey();
        }
예제 #3
0
        static void Main(string[] args)
        {
            IBusinessModule module = new BusinessModule();

            module.Method1();

            Console.WriteLine("---------------");

            module = new BusinessModuleProxy();
            module.Method1();
        }