Example #1
0
        static void Main(string[] args)
        {
            Design  dsg = new Design();
            Coller  clr = new Coller();
            Deliver dlr = new Deliver();

            ManagerFacade mng = new ManagerFacade(dsg, clr, dlr);

            Client client = new Client();

            client.Buy(mng);

            Console.Read();
        }
Example #2
0
 public ManagerFacade(Design d, Coller cr, Deliver dv)
 {
     this.furnitureDesigner = d;
     this.colorPainter      = cr;
     this.orderDeliver      = dv;
 }