protected override void ReadLine(BinaryReader reader) { PowerPointCoeffTable.RowData rowData = new PowerPointCoeffTable.RowData(); base.Read <int>(reader, ref rowData.AttributeID, CVSReader.intParse); this.columnno = 0; base.Read <uint>(reader, ref rowData.Profession, CVSReader.uintParse); this.columnno = 1; base.Read <double>(reader, ref rowData.Weight, CVSReader.doubleParse); this.columnno = 2; this.Table.Add(rowData); this.columnno = -1; }
protected override bool OnLine(string[] Fields) { PowerPointCoeffTable.RowData rowData = new PowerPointCoeffTable.RowData(); if (!base.Parse(Fields[this.ColMap[0]], ref rowData.AttributeID)) { return(false); } if (!base.Parse(Fields[this.ColMap[1]], ref rowData.Profession)) { return(false); } if (!base.Parse(Fields[this.ColMap[2]], ref rowData.Weight)) { return(false); } this.Table.Add(rowData); return(true); }