예제 #1
0
        public void WriteLine(CsvValues aCsv)
        {
            Debug.Assert(m_aReader == null);
            Debug.Assert(m_aWriter != null);
            Debug.Assert(aCsv.File == this);

            string sLine = aCsv.ToString(m_chComma, m_chQuote);

            m_aWriter.WriteLine(sLine);
        }
예제 #2
0
        /// <summary>
        /// Writing the CSV header creates an internal hashtable that associates the column
        /// indices with their column names.
        /// </summary>
        public void WriteHeader(CsvValues aCsvHeader)
        {
            Debug.Assert(m_aReader == null);
            Debug.Assert(m_aWriter != null);
            Debug.Assert(aCsvHeader.File == this);

            _BuildHeaderHashtable(aCsvHeader);
            string sLine = aCsvHeader.ToString(m_chComma, m_chQuote);

            m_aWriter.WriteLine(sLine);
        }
예제 #3
0
        public void WriteLine(CsvValues aCsv)
        {
            Debug.Assert(m_aReader == null);
            Debug.Assert(m_aWriter != null);
            Debug.Assert(aCsv.File == this);

            string sLine = aCsv.ToString(m_chComma, m_chQuote);
            m_aWriter.WriteLine(sLine);
        }
예제 #4
0
        /// <summary>
        /// Writing the CSV header creates an internal hashtable that associates the column
        /// indices with their column names.
        /// </summary>
        public void WriteHeader(CsvValues aCsvHeader)
        {
            Debug.Assert(m_aReader == null);
            Debug.Assert(m_aWriter != null);
            Debug.Assert(aCsvHeader.File == this);

            _BuildHeaderHashtable(aCsvHeader);
            string sLine = aCsvHeader.ToString(m_chComma, m_chQuote);
            m_aWriter.WriteLine(sLine);
        }