OnProcessDirectory() public method

Fires the process directory delegate.
public OnProcessDirectory ( string directory, bool hasMatchingFiles ) : bool
directory string The directory being processed.
hasMatchingFiles bool Flag indicating if the directory has matching files as determined by the current filter.
return bool
Beispiel #1
0
 private void ProcessDirectory(object sender, DirectoryEventArgs e)
 {
     if (!e.HasMatchingFiles && CreateEmptyDirectories)
     {
         if (events_ != null)
         {
             events_.OnProcessDirectory(e.Name, e.HasMatchingFiles);
         }
         if (e.ContinueRunning && e.Name != sourceDirectory_)
         {
             ZipEntry entry = entryFactory_.MakeDirectoryEntry(e.Name);
             outputStream_.PutNextEntry(entry);
         }
     }
 }