public TablesStreamNode(HexDocument doc, TablesStream tblStream, IMetaData md) : base((ulong)tblStream.StartOffset, (ulong)tblStream.MDTables[0].StartOffset - 1) { this.tablesStreamVM = new TablesStreamVM(this, doc, tblStream); this.newChildren = new List<ITreeNodeData>(); foreach (var mdTable in tblStream.MDTables) { if (mdTable.Rows != 0) this.newChildren.Add(new MetaDataTableNode(doc, mdTable, md)); } }
public TablesStreamNode(HexBuffer buffer, TablesStream tblStream, IMetaData md) : base(HexSpan.FromBounds((ulong)tblStream.StartOffset, (ulong)tblStream.MDTables[0].StartOffset)) { tablesStreamVM = new TablesStreamVM(this, buffer, tblStream); newChildren = new List<TreeNodeData>(); foreach (var mdTable in tblStream.MDTables) { if (mdTable.Rows != 0) newChildren.Add(new MetaDataTableNode(buffer, mdTable, md)); } }
public TablesStreamNode(TablesStreamVM tablesStream) : base(tablesStream.Span) { tablesStreamVM = tablesStream; newChildren = new List <TreeNodeData>(); foreach (var mdTable in tablesStream.MetadataTables) { if (!(mdTable is null)) { newChildren.Add(new MetadataTableNode(mdTable)); } } }
public TablesStreamNode(HexDocument doc, TablesStream tblStream, IMetaData md) : base((ulong)tblStream.StartOffset, (ulong)tblStream.MDTables[0].StartOffset - 1) { this.tablesStreamVM = new TablesStreamVM(this, doc, tblStream); this.newChildren = new List <ITreeNodeData>(); foreach (var mdTable in tblStream.MDTables) { if (mdTable.Rows != 0) { this.newChildren.Add(new MetaDataTableNode(doc, mdTable, md)); } } }
public TablesStreamNode(HexBuffer buffer, TablesStream tblStream, IMetaData md) : base(HexSpan.FromBounds((ulong)tblStream.StartOffset, (ulong)tblStream.MDTables[0].StartOffset)) { tablesStreamVM = new TablesStreamVM(this, buffer, tblStream); newChildren = new List <TreeNodeData>(); foreach (var mdTable in tblStream.MDTables) { if (mdTable.Rows != 0) { newChildren.Add(new MetaDataTableNode(buffer, mdTable, md)); } } }
public TablesStorageStreamNode(StorageStreamVM storageStream, TablesStreamVM tablesStream) : base(storageStream) { this.tablesStream = tablesStream; }