Example #1
0
 /// <summary>
 /// Upgrades the provided projects.
 /// </summary>
 /// <param name="analysisResults"></param>
 public void Upgrade(ScriptSolutionAnalysisResult analysisResults)
 {
     foreach (var project in analysisResults.BadProjects)
     {
         Upgrade(project);
     }
 }
Example #2
0
 /// <summary>
 /// Repairs the provided projects.
 /// </summary>
 /// <param name="analysisResults"></param>
 public void Repair(ScriptSolutionAnalysisResult analysisResults)
 {
     foreach (var project in analysisResults.BadProjects)
     {
         var handle = project.Project.Unload();
         Repair(project);
         handle.Reload();
     }
 }