Inheritance: IDisposable
Ejemplo n.º 1
0
 public void IsoConstructorTest()
 {
     var CsoName = "../../../TestInput/test.cso";
     var Cso = new Cso(File.OpenRead(CsoName));
     var Iso = new IsoFile(new CompressedIsoProxyStream(Cso), CsoName);
     var ContentNode = Iso.Root.Locate("path/content.txt");
     var Lines = ContentNode.Open().ReadAllContentsAsString().Split('\n');
     foreach (var Line in Lines)
     {
         Iso.Root.Locate(Line);
     }
 }
Ejemplo n.º 2
0
        internal IsoNode(IsoFile Iso, DirectoryRecord directoryRecord, string name = "", IsoNode parent = null)
        {
            this.Iso             = Iso;
            this._Parent         = parent;
            this.DirectoryRecord = directoryRecord;
            if (parent != null)
            {
                this.FullPath = parent.FullPath + "/" + name;
            }
            else
            {
                this.FullPath = name;
            }
            this.Name = name;

            //writefln("%s", this.fullPath);
        }
Ejemplo n.º 3
0
        internal IsoNode(IsoFile Iso, DirectoryRecord directoryRecord, string name = "", IsoNode parent = null)
        {
            this.Iso = Iso;
            this._Parent = parent;
            this.DirectoryRecord = directoryRecord;
            if (parent != null)
            {
                this.FullPath = parent.FullPath + "/" + name;
            }
            else
            {
                this.FullPath = name;
            }
            this.Name = name;

            //writefln("%s", this.fullPath);
        }
Ejemplo n.º 4
0
 public HleIoDriverIso(IsoFile Iso)
 {
     this.Iso = Iso;
 }