Exemple #1
0
        private void OnChanged(object source, FileSystemEventArgs e)
        {
            try
            {
                var fileContentList = _fileOperations.BulkLoad(e.FullPath);

                fileContentList
                .ToList()
                .ForEach(OnItemRead);
            }
            catch (ArgumentException exception)
            {
                Console.WriteLine(exception.Message);
            }
        }