コード例 #1
0
ファイル: Program.cs プロジェクト: alexxx0788/Patterns_Shapr
        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();
        }
コード例 #2
0
 public VisualStudioFacade(TextEditor te, Compiller compil, CLR clr)
 {
     this.textEditor = te;
     this.compiller = compil;
     this.clr = clr;
 }