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

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

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

            module.Method1();

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

            module = new BusinessModuleProxy();
            module.Method1();
        }
Example #3
0
 public BusinessModuleProxy()
 {
     _realObject = new BusinessModule();
 }
Example #4
0
 public BusinessModuleProxy()
 {
     _realObject = new BusinessModule();
 }
Example #5
0
 public BusinessModuleProxy()
 {
     _bm = new BusinessModule();
 }