Azavea.Open.DAO.CSV.CsvDaLayer.DoneWithWriter C# (CSharp) Method

DoneWithWriter() protected method

Returns the writer for closing (or not, if we were configured with it).
protected DoneWithWriter ( WriterInfo info ) : void
info WriterInfo The WriterInfo obtained from a GetWriter call.
return void
        protected internal void DoneWithWriter(WriterInfo info)
        {
            // Close it unless we were configured with it.
            if (_connDesc.Type != CsvConnectionType.Writer)
            {
                info.Writer.Close();
            }
        }