예제 #1
0
 public void Query()
 {
     try
     {
         string first, last;
         GetRevisionRange(RevisionRange, out first, out last);
         QueryResult = new ResultViewModel(SelectedIndex.Query(QueryText, first, last), SelectedIndex.Path);
     }
     catch (Exception x)
     {
         MessageBox.Show(Dump.ExceptionMessage(x), "Search failed", MessageBoxButton.OK, MessageBoxImage.Warning);
     }
 }