Exemplo n.º 1
0
        public Task Execute()
        {
            return(Task.Run(() =>
            {
                var traverser = new FileTraverser(_config.Src, _token);
                foreach (var file in traverser)
                {
                    Buffer.Add(file, _token);
                }

                _resultFactory.AddErrors(traverser.ErrorResults);
                Buffer.CompleteAdding();
            }, _token));
        }