public SolutionPropertiesPagePresenter(ISolutionPropertiesPage view, ISolutionPropertiesModel model)
        {
            Guard.ArgumentNotNull(view, "view");
            Guard.ArgumentNotNull(view, "model");

            _view = view;
            _model = model;

            _view.SupportLibrariesPathChanging += new EventHandler<EventArgs>(OnSupportingLibrariesPathChanging);
            _view.RootNamespaceChanging += new EventHandler<EventArgs>(OnRootNamespaceChanging);
            _view.RequestingValidation += new EventHandler<EventArgs<bool>>(OnValidating);
            _view.ShowDocumentationChanging += new EventHandler<EventArgs>(OnShowDocumentationChanging);
        }
Пример #2
0
        public SolutionPropertiesPagePresenter(ISolutionPropertiesPage view, ISolutionPropertiesModel model)
        {
            Guard.ArgumentNotNull(view, "view");
            Guard.ArgumentNotNull(view, "model");

            _view = view;
            _model = model;

            _view.SupportLibrariesPathChanging += new EventHandler<EventArgs>(OnSupportingLibrariesPathChanging);
            _view.RootNamespaceChanging += new EventHandler<EventArgs>(OnRootNamespaceChanging);
            _view.RequestingValidation += new EventHandler<EventArgs<bool>>(OnValidating);
            _view.ShowDocumentationChanging += new EventHandler<EventArgs>(OnShowDocumentationChanging);
        }