|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |
Watches filesystem and adds/remove resources from database when filesystem is changed
Field Summary | |
---|---|
System.IO.FileSystemWatcher | watch |
Constructor Summary | |
---|---|
FileWatcher(string path) Constructor |
Method Summary | |
---|---|
void | OnCreated(object sender, System.IO.FileSystemEventArgs args) |
void | OnDeleted(object sender, System.IO.FileSystemEventArgs args) |
void | OnRenamed(object sender, System.IO.RenamedEventArgs args) |
Methods inherited from class System.Object |
---|
Equals, Finalize, GetHashCode, GetType, MemberwiseClone, ToString |
Field Detail |
---|
private System.IO.FileSystemWatcher watch
Constructor Detail |
---|
internal FileWatcher(string path)
Constructor
Parameters:
path
- Path to watchMethod Detail |
---|
private void OnCreated(object sender, System.IO.FileSystemEventArgs args)
private void OnDeleted(object sender, System.IO.FileSystemEventArgs args)
private void OnRenamed(object sender, System.IO.RenamedEventArgs args)
|
.NET Framework | |||||||||
PREV TYPE NEXT TYPE | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONST | PROP | METHOD | OP | EVENT | DETAIL: FIELD | CONST | PROP | METHOD | OP | EVENT |