public ImageSectionHeaderNode(HexDocument doc, ImageSectionHeader sectHdr, int sectionNumber)
     : base((ulong)sectHdr.StartOffset, (ulong)sectHdr.EndOffset - 1)
 {
     this.SectionNumber        = sectionNumber;
     this.imageSectionHeaderVM = new ImageSectionHeaderVM(this, doc, StartOffset);
 }
Esempio n. 2
0
 public ImageSectionHeaderNode(ImageSectionHeaderVM sectHdr, int sectionNumber)
     : base(sectHdr.Span)
 {
     SectionNumber        = sectionNumber;
     imageSectionHeaderVM = sectHdr;
 }
		public ImageSectionHeaderNode(HexDocument doc, ImageSectionHeader sectHdr, int sectionNumber)
			: base((ulong)sectHdr.StartOffset, (ulong)sectHdr.EndOffset - 1) {
			this.sectionNumber = sectionNumber;
			this.imageSectionHeaderVM = new ImageSectionHeaderVM(this, doc, StartOffset);
		}
Esempio n. 4
0
 public ImageSectionHeaderNode(HexBuffer buffer, ImageSectionHeader sectHdr, int sectionNumber)
     : base(HexSpan.FromBounds((ulong)sectHdr.StartOffset, (ulong)sectHdr.EndOffset))
 {
     SectionNumber        = sectionNumber;
     imageSectionHeaderVM = new ImageSectionHeaderVM(this, buffer, Span.Start);
 }