Exemplo n.º 1
0
        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();
        }
Exemplo n.º 2
0
 public CremaBinaryColumnCollection(CremaBinaryTable table, int capacity, bool caseSensitive)
 {
     this.table   = table;
     this.columns = new OrderedDictionary(capacity, StringResource.GetComparer(caseSensitive));
 }