Example #1
0
 //public event EventHandler<ZipEventArgs> EntryAdded;
 /// <summary>
 ///   Raised when a <see cref="ZipEntry" /> has been added to an archive.
 /// </summary>
 /// <summary>
 ///   Raises the <see cref="EntryExtracted" /> event.
 /// </summary>
 /// <param name="p_zeEntry">The <see cref="ZipEntry" /> that was extracted.</param>
 protected void OnEntryExtracted(ZipEntry p_zeEntry)
 {
     if (EntryExtracted != null)
     {
         var zeaArgs = new ZipEventArgs(p_zeEntry.Name);
         EntryExtracted(this, zeaArgs);
         continueRunning_ &= !zeaArgs.Cancel;
     }
 }
Example #2
0
 //public event EventHandler<ZipEventArgs> EntryAdded;
 /// <summary>
 ///   Raised when a <see cref="ZipEntry" /> has been added to an archive.
 /// </summary>
 /// <summary>
 ///   Raises the <see cref="EntryExtracted" /> event.
 /// </summary>
 /// <param name="p_zeEntry">The <see cref="ZipEntry" /> that was extracted.</param>
 protected void OnEntryExtracted(ZipEntry p_zeEntry)
 {
   if (EntryExtracted != null)
   {
     var zeaArgs = new ZipEventArgs(p_zeEntry.Name);
     EntryExtracted(this, zeaArgs);
     continueRunning_ &= !zeaArgs.Cancel;
   }
 }