Пример #1
0
 private void OnFilePartExtractionBegin(object sender, FilePartExtractionBeginEventArgs e)
 {
     OnUnZipProgressEventHandler(sender, new BaseUnZipProgressEventArgs()
     {
         Size = e.Size, Name = e.Name, Index = _unZipCount, Count = _unzipTotalCount, Path = Path.Combine(_destinationPath, e.Name)
     });
 }
Пример #2
0
 void IExtractionListener.FireFilePartExtractionBegin(string name, long size, long compressedSize)
 {
     if (this.FilePartExtractionBegin != null)
     {
         FilePartExtractionBeginEventArgs e = new FilePartExtractionBeginEventArgs();
         e.CompressedSize = compressedSize;
         e.Size           = size;
         e.Name           = name;
         this.FilePartExtractionBegin(this, e);
     }
 }
Пример #3
0
 void IStreamListener.FireFilePartExtractionBegin(string name, long size, long compressedSize)
 {
     if (this.FilePartExtractionBegin != null)
     {
         FilePartExtractionBeginEventArgs e = new FilePartExtractionBeginEventArgs {
             CompressedSize = compressedSize,
             Size           = size,
             Name           = name
         };
         this.FilePartExtractionBegin(this, e);
     }
 }
Пример #4
0
 void archive_FilePartExtractionBegin(object sender, FilePartExtractionBeginEventArgs e)
 {
     this.partTotal = e.Size;
     Console.WriteLine("Initializing File Part Extraction: " + e.Name);
 }