Esempio n. 1
0
        public void Run()
        {
            TextEditor textEditor = new TextEditor();
            Compiller  compiller  = new Compiller();
            Clr        clr        = new Clr();

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

            Programmer programmer = new Programmer();

            programmer.CreateApplication(ide);

            Console.Read();
        }
Esempio n. 2
0
 public VisualStudioFacade(TextEditor te, Compiller compil, Clr clr)
 {
     _textEditor = te;
     _compiller  = compil;
     _clr        = clr;
 }