public CremaBinaryTableCollection(CremaBinaryReader reader, TableIndex[] tableIndexes) { this.reader = reader; this.tables = new OrderedDictionary(tableIndexes.Length, StringResource.GetComparer(this.reader.CaseSensitive)); var tableStrings = StringResource.GetTableStrings(null); foreach (TableIndex item in tableIndexes) { this.tables.Add(tableStrings.GetString(item.TableName), null); } this.tableNames = this.tables.Keys.Cast <string>().ToArray(); }
public CremaBinaryTable(CremaBinaryReader reader, int rowCount, ReadOptions options) { this.reader = reader; this.rows = new CremaBinaryRowCollection(this, rowCount); }