Beispiel #1
0
        static void Main(string[] args)
        {
            Pursuit _pursuit=new Pursuit();
            _pursuit.GiveDolls();

            Proxy _proxy=new Proxy(_pursuit);
            _proxy.GiveDolls();
            Console.ReadKey();
        }
Beispiel #2
0
        static void Main(string[] args)
        {
            Pursuit _pursuit = new Pursuit();

            _pursuit.GiveDolls();

            Proxy _proxy = new Proxy(_pursuit);

            _proxy.GiveDolls();
            Console.ReadKey();
        }
Beispiel #3
0
        private static void NewMethod()
        {
            Girl leng = new Girl {
                Name = "kat"
            };

            Pursuit yi = new Pursuit(leng);

            yi.GiveChocolate();
            yi.GiveDolls();
            yi.GiveFlowers();

            Console.Read();
        }
Beispiel #4
0
 public Proxy(SchoolGirl mm)
 {
     gg = new Pursuit(mm);
 }
 public ExampleProxy(SchoolGirl mm)
 {
     gg = new Pursuit(mm);
 }
Beispiel #6
0
 public PursuitProxy(SchoolGirl mm)
 {
     gg = new Pursuit(mm);
 }
 public Proxy(SchoolGril girl)
 {
     gg = new Pursuit(girl);
 }