using System; using System.Collections.Generic; namespace XUtliPoolLib { public class GlobalTable : CVSReader { public Dictionary Table = new Dictionary(); public class RowData { public string Name; public string Value; } protected override void ReadLine(XBinaryReader reader) { uint key = 0u; string value = ""; base.Read(reader, ref key, CVSReader.uintParse); this.columnno = 0; base.Read(reader, ref value, CVSReader.stringParse); this.columnno = 1; this.Table[key] = value; this.columnno = -1; } protected override void OnClear(int lineCount) { this.Table.Clear(); } } }