public Client() { MotherBoard mb = new MotherBoard(); NetWork nw = new NetWork(); Facade f = new Facade(mb, nw); AccessClient.ClientCode(f); // System.Console.WriteLine(f.Operation()); }
public Facade(MotherBoard motherBoard, NetWork netWork) { this._motherBoard = motherBoard; this._netWork = netWork; }