Exemple #1
0
 private void DoOnFinishedResolving(CommandResultDialog dialog, int projectsCount)
 {
     dialog.AddResult(string.Format("Finished! \n {0} projects resolved!", projectsCount));
     this.IsResolving = false;
     dialog.ShowFinishButton();
 }
Exemple #2
0
 private void DoOnStartResolving(CommandResultDialog dialog)
 {
     this.IsResolving = true;
     dialog.AddResult("Start resolving references ...");
     dialog.ShowDialog();
 }
Exemple #3
0
 private void DoOnReferenceRemoved(CommandResultDialog dialog, ReferenceModel reference)
 {
     dialog.AddResult(string.Format("Removed reference: {0} \n {1}", reference.Name, reference.Path));
 }
Exemple #4
0
 private void DoOnProjectModifyingEnd(CommandResultDialog dialog, VSLangProj.VSProject project, int addedReferences, int removedReferences)
 {
     dialog.AddResult(string.Format("Finished modifying project: {0} \n {1} references added \n {2} references removed \n --------------",
                                    project.Project.Name, addedReferences, removedReferences));
 }
Exemple #5
0
 private void DoOnProjectModifyingStart(CommandResultDialog dialog, VSLangProj.VSProject project)
 {
     dialog.AddResult(string.Format(" --------------\nModifying project: {0}", project.Project.Name));
 }
Exemple #6
0
 private void DoOnException(CommandResultDialog dialog, Exception ex)
 {
     dialog.AddResult(string.Format("Exception occured: {0} \n StackTrace: {1}", ex.Message, ex.StackTrace));
 }