Пример #1
0
        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();
        }
Пример #2
0
 public Facade(Editor editor, Speller speller, Sender sender)
 {
     this._editor  = editor;
     this._speller = speller;
     this._sender  = sender;
 }