Esempio n. 1
0
        void InitializePresenterAndModel()
        {
            IDictionaryService dictionary           = (IDictionaryService)GetService(typeof(IDictionaryService));
            DTE            dte                      = (DTE)GetService(typeof(DTE));
            ISolutionModel solution                 = new DteSolutionModel(dte.Solution, Site);
            CreateFoundationalModulePageModel model = new CreateFoundationalModulePageModel(dictionary, solution, Site);

            _presenter = new CreateFoundationalModulePagePresenter(this, model);
            _presenter.OnViewReady();
        }
 void InitializePresenterAndModel()
 {
     IDictionaryService dictionary = (IDictionaryService)GetService(typeof(IDictionaryService));
     DTE dte = (DTE)GetService(typeof(DTE));
     ISolutionModel solution = new DteSolutionModel(dte.Solution, Site);
     CreateFoundationalModulePageModel model = new CreateFoundationalModulePageModel(dictionary, solution, Site);
     _presenter = new CreateFoundationalModulePagePresenter(this, model);
     _presenter.OnViewReady();
 }