static void Main(string[] args) { OldSystem oldSystem = new OldSystem(); MySocket mmm = new MySocket(); Adapter adapt = new Adapter(oldSystem); Adapter adap = new Adapter(mmm); ChangeLapTop(adapt); ChangeLapTops(adap); }
public Adapter(OldSystem adaptee) { _adaptee = adaptee; }