메소드 | 설명 | |
---|---|---|
FileSearcher ( ) : System |
A simple constructor that initializes the object with the given values.
|
|
Find ( string p_strSearchFiles ) : void |
Finds all files matching the given patterns.
|
메소드 | 설명 | |
---|---|---|
DoWork ( object p_objArgs ) : object |
The delegate that is called to start the backgound task.
|
|
OnFileFound ( EventArgs |
Raises the FileFound event.
|
|
OnFileFound ( string p_strFoundPath ) : void |
Raises the FileFound event.
|
|
Search ( string p_strPath, Regex p_rgxPatterns ) : void |
This recursively searches the specified directory for the search files.
|
protected DoWork ( object p_objArgs ) : object | ||
p_objArgs | object | the file patterns to search for. |
리턴 | object |
public Find ( string p_strSearchFiles ) : void | ||
p_strSearchFiles | string | The file patterns to search for. |
리턴 | void |
protected OnFileFound ( EventArgs |
||
e | EventArgs |
An |
리턴 | void |
protected OnFileFound ( string p_strFoundPath ) : void | ||
p_strFoundPath | string | The path of the file that was found. |
리턴 | void |
protected Search ( string p_strPath, Regex p_rgxPatterns ) : void | ||
p_strPath | string | The path of the direcotry to recursively search. |
p_rgxPatterns | Regex | The file patterns to search for. |
리턴 | void |