Пример #1
0
 public Tuple <ClientLog, List <string> > GetClientLog(string reportName, LatencyConversionModel conversionModel)
 {
     try
     {
         var logContent = _fileSystemController.ReadFileContents($"{LogsFolder}\\{ReportTypes.ClientReport}\\{reportName}.csv");
         var clientLog  = _dataConverter.ConvertCsvToClientDataModel(logContent, conversionModel);
         return(clientLog);
     }
     catch (Exception e)
     {
         MessageBox.Show($@"Failed getting client log: {reportName}. InnerMessage: {e.Message}");
         throw;
     }
 }