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(); }
public ManagerFacade(Design d, Coller cr, Deliver dv) { this.furnitureDesigner = d; this.colorPainter = cr; this.orderDeliver = dv; }