示例#1
0
        /// <summary>
        /// Writes the CSV data into the stream.
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="stream">The stream.</param>
        /// <param name="definition">The definition.</param>
        /// <param name="rows">The rows.</param>
        public static void Write <T>(Stream stream, CsvDefinition <T> definition, T[] rows)
        {
            var builder = new CsvStreamWriter();

            builder.Write <T>(stream, rows, definition);
        }