示例#1
0
        static void Main(string[] args)
        {
            TextEditor textEditor = new TextEditor();

            Comiler comiler = new Comiler();

            CLR clr = new CLR();

            VSFacade ide = new VSFacade(textEditor, comiler, clr);

            Programmer programmer = new Programmer();

            programmer.CreateApplication(ide);

            Console.ReadKey();
        }
示例#2
0
 public VSFacade(TextEditor te, Comiler compile, CLR clr)
 {
     this.textEditor = te;
     this.compiler   = compile;
     this.clr        = clr;
 }