Beispiel #1
0
 private void DoOnFinishedResolving(CommandResultDialog dialog, int projectsCount)
 {
     dialog.AddResult(string.Format("Finished! \n {0} projects resolved!", projectsCount));
     this.IsResolving = false;
     dialog.ShowFinishButton();
 }
Beispiel #2
0
 private void DoOnStartResolving(CommandResultDialog dialog)
 {
     this.IsResolving = true;
     dialog.AddResult("Start resolving references ...");
     dialog.ShowDialog();
 }
Beispiel #3
0
 private void DoOnReferenceRemoved(CommandResultDialog dialog, ReferenceModel reference)
 {
     dialog.AddResult(string.Format("Removed reference: {0} \n {1}", reference.Name, reference.Path));
 }
Beispiel #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));
 }
Beispiel #5
0
 private void DoOnProjectModifyingStart(CommandResultDialog dialog, VSLangProj.VSProject project)
 {
     dialog.AddResult(string.Format(" --------------\nModifying project: {0}", project.Project.Name));
 }
Beispiel #6
0
 private void DoOnException(CommandResultDialog dialog, Exception ex)
 {
     dialog.AddResult(string.Format("Exception occured: {0} \n StackTrace: {1}", ex.Message, ex.StackTrace));
 }