예제 #1
0
파일: TestProxy.cs 프로젝트: KoyoA/patterns
        public static void Main()
        {
            PotOfTeaInterface potOfTea = new PotOfTeaProxy();

             Tapper tap = new Tapper();
               tap.test("TestProxy: pouring tea", potOfTea.pourTea() , ("Pouring tea"));
            tap.done();
        }
예제 #2
0
        public static void Main()
        {
            PotOfTeaInterface potOfTea = new PotOfTeaProxy();

            Tapper tap = new Tapper();

            tap.test("TestProxy: pouring tea", potOfTea.pourTea(), ("Pouring tea"));
            tap.done();
        }