void HandleMonoDevelopCoreFileServiceFileRemoved (object sender, FileEventArgs e) { foreach(var fileInfo in e.ToList()) { if(!fileInfo.IsDirectory) { MonoDevelop.Core.LoggingService.LogInfo ("File {0} deleted", fileInfo.FileName.FileName); client.SendFilePath (fileInfo.FileName, EventType.Delete); } } }