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 VisualStudioFacade(TextEditor te, Compiler compiler, CLR clr)
 {
     this.textEditor = te;
     this.compiler   = compiler;
     this.clr        = clr;
 }