void InitializePresenterAndModel()
        {
            IDictionaryService dictionary    = (IDictionaryService)GetService(typeof(IDictionaryService));
            DTE                     dte      = (DTE)GetService(typeof(DTE));
            ISolutionModel          solution = new DteSolutionModel(dte.Solution, Site);
            CreateViewPageBaseModel model    = CreateModel(dictionary, solution, Site);

            _presenter = CreatePresenter(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);
     CreateViewPageBaseModel model = CreateModel(dictionary, solution, Site);
     _presenter = CreatePresenter(this, model);
     _presenter.OnViewReady();
 }
 public void Setup()
 {
     dictionary = new MockDictionaryService();
     solutionModel = new MockSolutionModel(null);
     mockModel = new MockCreateViewPageBaseModel();
     view = new MockCreateViewPageBase();
     presenter = new CreateViewPageBasePresenter(view, mockModel);
     model = new CreateViewPageBaseModel(dictionary, solutionModel, null);
 }