static void Main(string[] args) { Editor editor = new Editor(); Speller speller = new Speller(); Sender sender = new Sender(); Facade facade = new Facade(editor, speller, sender); Client.ClientCode(facade); Console.ReadLine(); }
public Facade(Editor editor, Speller speller, Sender sender) { this._editor = editor; this._speller = speller; this._sender = sender; }