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); }
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); }
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); }