Пример #1
0
 /// <summary>
 /// Construct a PackedExecution with empty base tables.
 /// </summary>
 /// <remarks>
 /// After creating these tables, create their Builders (inner classes) to populate them.
 /// Note that calling ConstructRelationTables() is necessary after these are fully built,
 /// before the relations can then be built.
 /// </remarks>
 public PackedExecution()
 {
     StringTable       = new PackedTable.StringTable();
     PathTable         = new NameTable('\\', StringTable);
     DirectoryTable    = new DirectoryTable(PathTable);
     FileTable         = new FileTable(PathTable);
     PipTable          = new PipTable(StringTable);
     PipExecutionTable = new PipExecutionTable(PipTable);
     WorkerTable       = new WorkerTable(StringTable);
 }
Пример #2
0
 /// <summary>
 /// Construct a WorkerTable.
 /// </summary>
 public WorkerTable(PackedTable.StringTable stringTable, int capacity = DefaultCapacity) : base(capacity)
 {
     StringTable = stringTable;
 }
Пример #3
0
 /// <summary>
 /// Construct a PipTable.
 /// </summary>
 public PipTable(PackedTable.StringTable stringTable, int capacity = DefaultCapacity) : base(capacity)
 {
     PipNameTable = new NameTable('.', stringTable);
 }