C# Class ICSharpCode.SharpZipLib.Zip.FastZipEvents

FastZipEvents supports all events applicable to FastZip operations.
Afficher le fichier Open project: icsharpcode/SharpZipLib Class Usage Examples

Méthodes publiques

Свойство Type Description
CompletedFile CompletedFileHandler
DirectoryFailure DirectoryFailureHandler
FileFailure FileFailureHandler
ProcessFile ProcessFileHandler
Progress ProgressHandler

Méthodes publiques

Méthode Description
OnCompletedFile ( string file ) : bool

Fires the CompletedFile delegate

OnDirectoryFailure ( string directory, Exception e ) : bool

Raise the directory failure event.

OnFileFailure ( string file, Exception e ) : bool

Fires the file failure handler delegate.

OnProcessDirectory ( string directory, bool hasMatchingFiles ) : bool

Fires the process directory delegate.

OnProcessFile ( string file ) : bool

Fires the ProcessFile delegate.

Method Details

OnCompletedFile() public méthode

Fires the CompletedFile delegate
public OnCompletedFile ( string file ) : bool
file string The file whose processing has been completed.
Résultat bool

OnDirectoryFailure() public méthode

Raise the directory failure event.
public OnDirectoryFailure ( string directory, Exception e ) : bool
directory string The directory causing the failure.
e System.Exception The exception for this event.
Résultat bool

OnFileFailure() public méthode

Fires the file failure handler delegate.
public OnFileFailure ( string file, Exception e ) : bool
file string The file causing the failure.
e System.Exception The exception for this failure.
Résultat bool

OnProcessDirectory() public méthode

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.
Résultat bool

OnProcessFile() public méthode

Fires the ProcessFile delegate.
public OnProcessFile ( string file ) : bool
file string The file being processed.
Résultat bool

Property Details

CompletedFile public_oe property

Delegate to invoke when processing for a file has been completed.
public CompletedFileHandler CompletedFile
Résultat CompletedFileHandler

DirectoryFailure public_oe property

Delegate to invoke when processing directory failures.
public DirectoryFailureHandler DirectoryFailure
Résultat DirectoryFailureHandler

FileFailure public_oe property

Delegate to invoke when processing file failures.
public FileFailureHandler FileFailure
Résultat FileFailureHandler

ProcessFile public_oe property

Delegate to invoke when processing files.
public ProcessFileHandler ProcessFile
Résultat ProcessFileHandler

Progress public_oe property

Delegate to invoke during processing of files.
public ProgressHandler Progress
Résultat ProgressHandler