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

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

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

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