Пример #1
0
        public static ArchiveFile Load(string archivePath)
        {
            ArchiveFile archive = new ArchiveFile(archivePath);

            archive.Load();
            return(archive);
        }
Пример #2
0
        public static ArchiveFile Read(SmartStream stream, string archivePath)
        {
            ArchiveFile archive = new ArchiveFile(archivePath);

            archive.Read(stream);
            return(archive);
        }
Пример #3
0
        public ArchiveFile ReadFile(IFileCollection collection, IAssemblyManager manager)
        {
            ArchiveFile archive = new ArchiveFile(collection, this);

            archive.AddFile(WebScheme, collection, manager);
            return(archive);
        }