public bool RunAnalysis(IList <string> urisToAnalyze) { bool bHasAnalysis = false; //set the files needing analysis CalculatorHelpers.SetFileOrFoldersToAnalyze(this.ARSCalculatorParams.AnalyzerParms.FilesToAnalyzeExtensionType, this.ARSCalculatorParams, urisToAnalyze); //run the analysis if (this.ARSCalculatorParams.AnalyzerParms.FileOrFolderPaths != null) { if (this.ARSCalculatorParams.AnalyzerParms.FileOrFolderPaths.Count > 0) { //build the base file needed by the regular analysis this.ARSCalculatorParams.AnalyzerParms.ObservationsPath = CalculatorHelpers.GetFullCalculatorResultsPath(this.ARSCalculatorParams); bHasAnalysis = CalculatorHelpers.AddFilesToBaseDocument(this.ARSCalculatorParams); if (bHasAnalysis) { //run the regular analysis bHasAnalysis = RunCalculations(); if (bHasAnalysis) { //v170 set devpack params CalculatorHelpers.UpdateDevPackAnalyzerParams(this.ARSCalculatorParams); } //reset subapptype this.ARSCalculatorParams.SubApplicationType = Constants.SUBAPPLICATION_TYPES.devpacks; } this.ARSCalculatorParams.ErrorMessage += this.ARSCalculatorParams.ErrorMessage; } else { if (this.ARSCalculatorParams.DocToCalcNodeName == Constants.LINKEDVIEWS_TYPES.linkedviewpack.ToString()) { //setting default analyzer attribute values } else { this.ARSCalculatorParams.ErrorMessage = Errors.MakeStandardErrorMsg("ANALYSES_NOFILES"); } } } else { this.ARSCalculatorParams.ErrorMessage = Errors.MakeStandardErrorMsg("ANALYSES_NOFILES"); } return(bHasAnalysis); }