private void HandleSolutionClosed() { if (Solution == null) { // this means that the solution is closed before it has been completely loaded return; } BeforeSolutionClosed.Fire(Solution); Solution = null; }
int IVsSolutionEvents.OnBeforeCloseSolution(object pUnkReserved) { BeforeSolutionClosed?.Invoke(); return(VSConstants.S_OK); }