public void CloseSolution() { // Stop monitoring srcMLService.StopMonitoring(); // Close the solution ModelSolution.Close(); ModelSolution = null; }
/// <summary> /// Respond to the Visual Studio event that occurs when a solution is about to close. /// </summary> private void RespondToSolutionClosing() { //SrcMLFileLogger.DefaultLogger.Info("Respond to the Visual Studio event that occurs when a solution is about to close."); //SrcMLFileLogger.DefaultLogger.Info("> SrcML service stops monitoring the opened solution."); srcMLService.StopMonitoring(); }