namespace ISOParser { /// /// Abstract class to represent a file/directory node /// public class ISONode { /// /// The record this node was created from. /// public ISONodeRecord FirstRecord; /// /// The sector offset of the file/directory data /// public long Offset; /// /// The byte length of the file/directory data. /// public long Length; /// /// Constructor. /// TODO: Make this constructor protected??? /// /// The ISONodeRecord to construct from. public ISONode(ISONodeRecord record) { this.FirstRecord = record; this.Offset = record.OffsetOfData; this.Length = record.LengthOfData; } } }