public void WriteAnalysisResultToFile(string path, ICSVPrintable analysisResult) { if (analysisResult.IsEmpty()) return; var filePath = path + analysisResult.GetFileName(); InitializeFile(filePath, analysisResult.GetCSVHeader()); WriteLineToFile(filePath, analysisResult.GetCSVString()); }
public void WriteAnalysisResultToFile(string path, ICSVPrintable analysisResult) { if (analysisResult.IsEmpty()) { return; } var filePath = path + analysisResult.GetFileName(); InitializeFile(filePath, analysisResult.GetCSVHeader()); WriteLineToFile(filePath, analysisResult.GetCSVString()); }