Esempio n. 1
0
        public static void ProxyTest()
        {
            var girl  = new SchoolGirl("Lucy");
            var proxy = new Proxy(girl);

            //When
            proxy.GiveDolls();
            proxy.GiveChocolate();
            proxy.GiveFlowers();
        }
Esempio n. 2
0
 public Proxy(SchoolGirl schoolGirl)
 {
     pursuit = new Pursuit(schoolGirl);
 }
Esempio n. 3
0
 public Pursuit(SchoolGirl schoolGirl)
 {
     this.schoolGirl = schoolGirl;
 }