コード例 #1
0
        static void Main(string[] args)
        {
            Pursuing pursuing = new Pursuing()
            {
                Name = "橙橙"
            };
            ProxySendFlowers proxy = new ProxySendFlowers(pursuing);

            proxy.BuyFlowers();
            proxy.SendFlowers();
            Console.ReadKey();
        }
コード例 #2
0
 public RealSendFlowers(Pursuing ps)
 {
     this.ps = ps;
 }
コード例 #3
0
 public ProxySendFlowers(Pursuing ps)
 {
     _realSendFlowers = new RealSendFlowers(ps);
 }