Пример #1
0
        public ZipFolder(ZipFolder parent, string zipEntryFullName)
        {
            _parent = parent;

            Name     = Path.GetFileName(zipEntryFullName);
            FileName = zipEntryFullName;
        }
Пример #2
0
        public ZipFolderFile(ZipFolder parent, string entryFullName)
        {
            _parent = parent;

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

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