Beispiel #1
0
        public static void Run()
        {
            Console.WriteLine("\r\n\tFacade\r\n");

            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);
        }
Beispiel #2
0
 public void CreateApplication(VisualStudioFacade facade)
 {
     facade.Start();
     facade.Stop();
 }