CmisSync.Lib.Producer.Watcher.CreatedChangedDeletedFileSystemEventHandler.AddEventToList C# (CSharp) Method

AddEventToList() private method

private AddEventToList ( FileSystemEventArgs args, System.Guid guid, bool isDirectory ) : void
args System.IO.FileSystemEventArgs
guid System.Guid
isDirectory bool
return void
        private void AddEventToList(FileSystemEventArgs args, Guid guid, bool isDirectory) {
            lock (this.listLock) {
                this.timer.Stop();
                this.events.Add(new Tuple<FileSystemEventArgs, Guid, DateTime, bool>(args, guid, DateTime.UtcNow, isDirectory));
                this.ResetTimerInterval();
                this.timer.Start();
            }
        }