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();
        }
 protected CreateViewPageBasePresenter CreatePresenter(CreateViewPageBase createViewPageBase, CreateViewPageBaseModel model)
 {
     return new CreateViewPageBasePresenter(this, model);
 }
 protected CreateViewPageBasePresenter CreatePresenter(CreateViewPageBase createViewPageBase, CreateViewPageBaseModel model)
 {
     return(new CreateViewPageBasePresenter(this, model));
 }
 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);
 }