Property | Type | Description | |
---|---|---|---|
CompletedFile | CompletedFileHandler | ||
DirectoryFailure | DirectoryFailureHandler | ||
FileFailure | FileFailureHandler | ||
ProcessFile | ProcessFileHandler |
Method | Description | |
---|---|---|
FileSystemScanner ( IScanFilter fileFilter ) : System |
Initialise a new instance of
|
|
FileSystemScanner ( IScanFilter fileFilter, IScanFilter directoryFilter ) : System |
Initialise a new instance of
|
|
FileSystemScanner ( string filter ) : System |
Initialise a new instance of
|
|
FileSystemScanner ( string fileFilter, string directoryFilter ) : System |
Initialise a new instance of
|
|
OnCompleteFile ( string file ) : void |
Raise the complete file event
|
|
OnProcessDirectory ( string directory, bool hasMatchingFiles ) : void |
Raise the ProcessDirectory event.
|
|
OnProcessFile ( string file ) : void |
Raise the ProcessFile event.
|
|
Scan ( string directory, bool recurse ) : void |
Scan a directory.
|
|
ScanDir ( string directory, bool recurse ) : void |
Method | Description | |
---|---|---|
OnDirectoryFailure ( string directory, |
Raise the DirectoryFailure event.
|
|
OnFileFailure ( string file, |
Raise the FileFailure event.
|
public FileSystemScanner ( IScanFilter fileFilter ) : System | ||
fileFilter | IScanFilter | The file |
return | System |
public FileSystemScanner ( IScanFilter fileFilter, IScanFilter directoryFilter ) : System | ||
fileFilter | IScanFilter | The file |
directoryFilter | IScanFilter | The directory |
return | System |
public FileSystemScanner ( string filter ) : System | ||
filter | string | The |
return | System |
public FileSystemScanner ( string fileFilter, string directoryFilter ) : System | ||
fileFilter | string | The |
directoryFilter | string | The |
return | System |
public OnCompleteFile ( string file ) : void | ||
file | string | The file name |
return | void |
public OnProcessDirectory ( string directory, bool hasMatchingFiles ) : void | ||
directory | string | The directory name. |
hasMatchingFiles | bool | Flag indicating if the directory has matching files. |
return | void |
public OnProcessFile ( string file ) : void | ||
file | string | The file name. |
return | void |
public Scan ( string directory, bool recurse ) : void | ||
directory | string | The base directory to scan. |
recurse | bool | True to recurse subdirectories, false to scan a single directory. |
return | void |
public ScanDir ( string directory, bool recurse ) : void | ||
directory | string | |
recurse | bool | |
return | void |
public DirectoryFailureHandler DirectoryFailure | ||
return | DirectoryFailureHandler |