private ArrayList __Columns; // An arraylist storing all the columns of a row internal ResourceTextReader(FileType fileType, Stream stream) { __Delimiter = LocBamlConst.GetDelimiter(fileType); if (stream == null) { throw new ArgumentNullException("stream"); } __Reader = new StreamReader(stream); }
//------------------------------- // constructor //------------------------------- internal ResourceTextWriter(FileType fileType, Stream output) { _delimiter = LocBamlConst.GetDelimiter(fileType); if (output == null) { throw new ArgumentNullException("output"); } // show utf8 byte order marker UTF8Encoding encoding = new UTF8Encoding(true); _writer = new StreamWriter(output, encoding); _firstColumn = true; }