메소드 | 설명 | |
---|---|---|
KDirectoryWatcher ( string dirPath, FileSystemEventHandler handler ) : System.Collections.Generic |
监视一个目录,如果有修改则触发事件函数, 包含其子目录! 使用更大的buffer size确保及时触发事件 不用includesubdirect参数,使用自己的子目录扫描,更稳健
|
메소드 | 설명 | |
---|---|---|
CreateWatch ( string dirPath, FileSystemEventHandler handler ) : void |
public KDirectoryWatcher ( string dirPath, FileSystemEventHandler handler ) : System.Collections.Generic | ||
dirPath | string | |
handler | FileSystemEventHandler | |
리턴 | System.Collections.Generic |