Ejemplo n.º 1
0
        IDictionary <string, object> GetFilesWithFileInfo()
        {
            if (Disposed)
            {
                throw new InvalidOperationException("MetaPackageReader is closed");
            }
            var fileInfos = ZipExtractor.GetFileInfos();

            return(fileInfos);
        }
Ejemplo n.º 2
0
        public Dictionary <string, object> GetFileInfos()
        {
            var infos   = extractor.GetFileInfos();
            var infodic = new Dictionary <string, object>();

            foreach (var info in infos)
            {
                infodic[info.Key] = info.Value;
            }
            return(infodic);
        }