Exemple #1
0
 private void DirectoryChangeWatcherOnPathsChanged(IList <PathChangeEntry> changes)
 {
     Logger.LogInfo("File change events: enqueuing an incremental file system rescan");
     _pathsChangedQueue.Enqueue(changes);
     _flushPathChangesTaskQueue.Enqueue(FlushPathsChangedQueueTaskId, FlushPathsChangedQueueTask);
 }
Exemple #2
0
 private static void WriteLine(string message)
 {
     _Messages.Enqueue(message);
 }
 public void Enqueue(FileRegistrationKind registrationKind, FullPath path)
 {
     _queue.Enqueue(new FileRegistrationEntry(path, registrationKind));
 }
 private void DirectoryChangeWatcherOnPathsChanged(IList <PathChangeEntry> changes)
 {
     _pathsChangedQueue.Enqueue(changes);
     _taskQueue.Enqueue(FlushPathsChangedQueueTaskId, FlushPathsChangedQueueTask);
 }