Example #1
0
        /// <inheritdoc/>
        public void CloseProject()
        {
            if (Project != null)
            {
                ProjectClosing?.Invoke(this, new EventArgs());

                Project = null;

                ProjectClosed?.Invoke(this, new EventArgs());
            }
        }
Example #2
0
 protected virtual void OnProjectClosing()
 {
     ProjectClosing?.Invoke(this, EventArgs.Empty);
 }
Example #3
0
        int IVsSolutionEvents.OnBeforeCloseProject(IVsHierarchy pHierarchy, int fRemoved)
        {
            ProjectClosing?.Invoke(this, new ParamEventArgs(pHierarchy, fRemoved));

            return(VSConstants.S_OK);
        }