Exemplo n.º 1
0
        static void Main()
        {
            TextEditor textEditor = new TextEditor();
            Compiler   compiler   = new Compiler();
            CLR        clr        = new CLR();

            VisualStudioFacade ide = new VisualStudioFacade(textEditor, compiler, clr);

            Programmer programmer = new Programmer();

            programmer.CreateApplication(ide);
        }
Exemplo n.º 2
0
 public void CreateApplication(VisualStudioFacade facade)
 {
     facade.Start();
     facade.Stop();
 }