예제 #1
0
		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));
			}
		}
예제 #2
0
		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));
			}
		}
예제 #3
0
        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));
                }
            }
        }
예제 #4
0
        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));
                }
            }
        }
예제 #5
0
        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));
                }
            }
        }
예제 #6
0
 public TablesStorageStreamNode(StorageStreamVM storageStream, TablesStreamVM tablesStream)
     : base(storageStream)
 {
     this.tablesStream = tablesStream;
 }