Public Member Functions | |
FileSystemScanner (string filter) | |
Initialise a new instance of FileSystemScanner. | |
FileSystemScanner (string fileFilter, string directoryFilter) | |
Initialise a new instance of FileSystemScanner. | |
FileSystemScanner (IScanFilter fileFilter) | |
Initialise a new instance of FileSystemScanner. | |
FileSystemScanner (IScanFilter fileFilter, IScanFilter directoryFilter) | |
Initialise a new instance of FileSystemScanner. | |
void | OnDirectoryFailure (string directory, Exception e) |
Raise the DirectoryFailure event. | |
void | OnFileFailure (string file, Exception e) |
Raise the FileFailure event. | |
void | OnProcessFile (string file) |
Raise the ProcessFile event. | |
void | OnProcessDirectory (string directory, bool hasMatchingFiles) |
Raise the ProcessDirectory event. | |
void | Scan (string directory, bool recurse) |
Scan a directory. | |
Public Attributes | |
ProcessDirectoryDelegate | ProcessDirectory |
Delegate to invoke when a directory is processed. | |
ProcessFileDelegate | ProcessFile |
Delegate to invoke when a file is processed. | |
DirectoryFailureDelegate | DirectoryFailure |
Delegate to invoke when a directory failure is detected. | |
FileFailureDelegate | FileFailure |
Delegate to invoke when a file failure is detected. | |
Private Member Functions | |
void | ScanDir (string directory, bool recurse) |
Private Attributes | |
IScanFilter | fileFilter |
The file filter currently in use. | |
IScanFilter | directoryFilter |
The directory filter currently in use. | |
bool | alive |
Falg indicating if scanning is still alive. Used to cancel a scan. |
Definition at line 178 of file FileSystemScanner.cs.
|
Initialise a new instance of FileSystemScanner.
Definition at line 184 of file FileSystemScanner.cs. |
|
Initialise a new instance of FileSystemScanner.
Definition at line 194 of file FileSystemScanner.cs. |
|
Initialise a new instance of FileSystemScanner.
Definition at line 204 of file FileSystemScanner.cs. |
|
Initialise a new instance of FileSystemScanner.
Definition at line 214 of file FileSystemScanner.cs. |
|
Raise the DirectoryFailure event.
Definition at line 245 of file FileSystemScanner.cs. References ICSharpCode::SharpZipLib::Core::ScanFailureEventArgs::ContinueRunning. |
|
Raise the FileFailure event.
Definition at line 261 of file FileSystemScanner.cs. References ICSharpCode::SharpZipLib::Core::ScanFailureEventArgs::ContinueRunning. |
|
Raise the ProcessDirectory event.
Definition at line 290 of file FileSystemScanner.cs. References ICSharpCode::SharpZipLib::Core::ScanEventArgs::ContinueRunning. |
|
Raise the ProcessFile event.
Definition at line 276 of file FileSystemScanner.cs. References ICSharpCode::SharpZipLib::Core::ScanEventArgs::ContinueRunning. |
|
Scan a directory.
Definition at line 304 of file FileSystemScanner.cs. Referenced by ICSharpCode::SharpZipLib::Zip::FastZip::CreateZip(). |
|
Definition at line 310 of file FileSystemScanner.cs. |
|
Falg indicating if scanning is still alive. Used to cancel a scan.
Definition at line 377 of file FileSystemScanner.cs. |
|
Delegate to invoke when a directory failure is detected.
Definition at line 233 of file FileSystemScanner.cs. |
|
The directory filter currently in use.
Definition at line 373 of file FileSystemScanner.cs. |
|
Delegate to invoke when a file failure is detected.
Definition at line 238 of file FileSystemScanner.cs. |
|
The file filter currently in use.
Definition at line 369 of file FileSystemScanner.cs. |
|
Delegate to invoke when a directory is processed.
Definition at line 223 of file FileSystemScanner.cs. Referenced by ICSharpCode::SharpZipLib::Zip::FastZip::CreateZip(). |
|
Delegate to invoke when a file is processed.
Definition at line 228 of file FileSystemScanner.cs. Referenced by ICSharpCode::SharpZipLib::Zip::FastZip::CreateZip(). |