Esempio n. 1
0
        public ZipFolder(ZipFolder parent, string zipEntryFullName)
        {
            _parent = parent;

            Name     = Path.GetFileName(zipEntryFullName);
            FileName = zipEntryFullName;
        }
Esempio n. 2
0
        public ZipFolderFile(ZipFolder parent, string entryFullName)
        {
            _parent = parent;

            EntryFullName = entryFullName;
            Name          = Path.GetFileName(entryFullName);
        }
Esempio n. 3
0
        public void Ctor()
        {
            var folder = new ZipFolder(@"d:\11.zip");

            Assert.AreEqual("11.zip", folder.Name);
        }
Esempio n. 4
0
 public void BeforeEachTest()
 {
     _temp = new TempDirectory();
     _temp.CopyFileFromResources("Content.zip");
     _sut = new ZipFolder(Path.Combine(_temp.Location, "Content.zip"));
 }