private void FacadeStart(object sender, RoutedEventArgs e)
        {
            TextEditor textEditor = new TextEditor();
            Compiller  compiller  = new Compiller();
            CLR        clr        = new CLR();

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

            Facade.Programmer programmer = new Facade.Programmer();
            MessageBox.Show(programmer.CreateApplication(ide));
        }
Example #2
0
        static void Main(string[] args)
        {
            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();
        }
Example #3
0
        private static void Main(string[] args)
        {
            Console.ForegroundColor = ConsoleColor.Green;
            Console.Title           = "Facade";

            var textEditor = new TextEditor();
            var compiler   = new Compiler();
            var clr        = new CLR();

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

            var programmer = new Programmer();

            programmer.CreateApplication(ide);

            Console.ReadKey();
        }