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