Пример #1
0
        public StructContext(IIResultSaver saver, IIDecompiledData decompiledData, LazyLoader
                             loader)
        {
            this.saver          = saver;
            this.decompiledData = decompiledData;
            this.loader         = loader;
            ContextUnit defaultUnit = new ContextUnit(ContextUnit.Type_Folder, null, string.Empty
                                                      , true, saver, decompiledData);

            Sharpen.Collections.Put(units, string.Empty, defaultUnit);
        }
Пример #2
0
 public ContextUnit(int type, string archivePath, string filename, bool own, IIResultSaver
                    resultSaver, IIDecompiledData decompiledData)
 {
     // relative path to jar/zip
     // folder: relative path, archive: file name
     // class file or jar/zip entry
     this.type           = type;
     this.own            = own;
     this.archivePath    = string.IsNullOrEmpty(archivePath) ? "." : archivePath;
     this.filename       = filename;
     this.resultSaver    = resultSaver;
     this.decompiledData = decompiledData;
 }