Exemplo n.º 1
0
        /// <summary>
        /// Creates a new target file stream.
        /// </summary>
        /// <param name="name"></param>
        /// <param name="stream"></param>
        /// <param name="seperator"></param>
        public GTFSTargetFileStream(Stream stream, string name, char seperator)
        {
            _name = name;

            _streamWriter = new CSVStreamWriter(stream, seperator);
        }
Exemplo n.º 2
0
        /// <summary>
        /// Creates a new target file stream.
        /// </summary>
        /// <param name="name"></param>
        /// <param name="stream"></param>
        public GTFSTargetFileStream(Stream stream, string name)
        {
            _name = name;

            _streamWriter = new CSVStreamWriter(stream);
        }