C# Класс ICSharpCode.SharpZipLib.Zip.FastZipEvents

FastZipEvents supports all events applicable to FastZip operations.
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
CompletedFile CompletedFileHandler
DirectoryFailure DirectoryFailureHandler
FileFailure FileFailureHandler
ProcessFile ProcessFileHandler
Progress ProgressHandler

Открытые методы

Метод Описание
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.

Описание методов

OnCompletedFile() публичный Метод

Fires the CompletedFile delegate
public OnCompletedFile ( string file ) : bool
file string The file whose processing has been completed.
Результат bool

OnDirectoryFailure() публичный Метод

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.
Результат bool

OnFileFailure() публичный Метод

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.
Результат bool

OnProcessDirectory() публичный Метод

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.
Результат bool

OnProcessFile() публичный Метод

Fires the ProcessFile delegate.
public OnProcessFile ( string file ) : bool
file string The file being processed.
Результат bool

Описание свойств

CompletedFile публичное свойство

Delegate to invoke when processing for a file has been completed.
public CompletedFileHandler CompletedFile
Результат CompletedFileHandler

DirectoryFailure публичное свойство

Delegate to invoke when processing directory failures.
public DirectoryFailureHandler DirectoryFailure
Результат DirectoryFailureHandler

FileFailure публичное свойство

Delegate to invoke when processing file failures.
public FileFailureHandler FileFailure
Результат FileFailureHandler

ProcessFile публичное свойство

Delegate to invoke when processing files.
public ProcessFileHandler ProcessFile
Результат ProcessFileHandler

Progress публичное свойство

Delegate to invoke during processing of files.
public ProgressHandler Progress
Результат ProgressHandler