public int PerformSearch(int startPage, int endPage, string searchText)
 {
     using (ProcessingStreamHandler @object = new ProcessingStreamHandler())
     {
         ProcessingContext        processingContext        = this.CreateProcessingContext(@object.StreamCallback);
         ReportProcessing         reportProcessing         = this.CreateAndConfigureReportProcessing();
         OnDemandProcessingResult onDemandProcessingResult = default(OnDemandProcessingResult);
         return(reportProcessing.ProcessFindStringEvent(startPage, endPage, searchText, this.m_executionSession.EventInfo, processingContext, out onDemandProcessingResult));
     }
 }