Aqueduct.Utils.CSVService.CreateCSVLine C# (CSharp) Метод

CreateCSVLine() защищенный статический Метод

protected static CreateCSVLine ( ICollection values ) : string
values ICollection
Результат string
        protected static string CreateCSVLine(ICollection<string> values)
        {
            StringBuilder sb = new StringBuilder();
            foreach (string value in values)
            {
                string processedValue = ProcessMultilineContent(value);
                sb.AppendFormat("\"{0}\",", processedValue.Replace("\"", "\"\""));
            }
            if (sb.Length > 0)
                sb = sb.Remove(sb.Length - 1, 1);
            return sb.ToString();
        }