/// <inheritdoc/> public void CloseProject() { if (Project != null) { ProjectClosing?.Invoke(this, new EventArgs()); Project = null; ProjectClosed?.Invoke(this, new EventArgs()); } }
protected virtual void OnProjectClosing() { ProjectClosing?.Invoke(this, EventArgs.Empty); }
int IVsSolutionEvents.OnBeforeCloseProject(IVsHierarchy pHierarchy, int fRemoved) { ProjectClosing?.Invoke(this, new ParamEventArgs(pHierarchy, fRemoved)); return(VSConstants.S_OK); }