public oval_results GetDocument(CollectRequest collectRequest, string definitions, Result collectResult) { if ((collectRequest != null) && (collectRequest.HasResult())) { var ovalResults = TryToGetOvalResultsDocumentFromCollectedAnalysis(collectRequest, definitions, collectResult); if (ovalResults != null) { ovalResults.Analyze(); return(ovalResults); } } return(null); }