Exemplo n.º 1
0
 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);
 }
Exemplo n.º 2
0
 public ImageSectionHeaderNode(ImageSectionHeaderVM sectHdr, int sectionNumber)
     : base(sectHdr.Span)
 {
     SectionNumber        = sectionNumber;
     imageSectionHeaderVM = sectHdr;
 }
Exemplo n.º 3
0
		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);
		}
Exemplo 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);
 }