示例#1
0
        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;
        }
示例#2
0
 int IVsSolutionEvents.OnBeforeCloseSolution(object pUnkReserved)
 {
     BeforeSolutionClosed?.Invoke();
     return(VSConstants.S_OK);
 }