Beispiel #1
0
        public ZipFolder(ZipFolder parent, string zipEntryFullName)
        {
            _parent = parent;

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

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

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