Beispiel #1
0
 static void Main(string[] args)
 {
     FileWatcher.Configuration()
     .Watch(@"c:\temp")
     .HandlerFor <FileCreated>(created => Console.WriteLine(created.FilePath))
     .HandlerFor <FileCreated>(created => Console.WriteLine(created.FilePath));
     FileWatcher.Start();
 }