protected override void ReadLine(BinaryReader reader) { ForbidWord.RowData rowData = new ForbidWord.RowData(); base.Read <string>(reader, ref rowData.forbidword, CVSReader.stringParse); this.columnno = 0; this.Table.Add(rowData); this.columnno = -1; }
protected override bool OnLine(string[] Fields) { ForbidWord.RowData rowData = new ForbidWord.RowData(); if (!base.Parse(Fields[this.ColMap[0]], ref rowData.forbidword)) { return(false); } this.Table.Add(rowData); return(true); }