private OnFileChanged ( object source, FileEventArgs e ) : void | ||
source | object | |
e | FileEventArgs | |
return | void |
internal virtual void OnFileChanged (object source, FileEventArgs e)
{
foreach (FileEventInfo fi in e) {
ProjectFile file = GetProjectFile (fi.FileName);
if (file != null) {
try {
NotifyFileChangedInProject (file);
} catch {
// Workaround Mono bug. The watcher seems to
// stop watching if an exception is thrown in
// the event handler
}
}
}
}