Beispiel #1
0
        public async Task Execute(string[] fileNames)
        {
            _block.Clear();

            foreach (var file in fileNames)
            {
                _messages.Add($"Opening file {Path.GetFileNameWithoutExtension(file)} ", MessageType.Heading);

                await _block.Add(file);

                _block.JoinInsAndOuts();
            }

            _messages.Add("Opening file complete", MessageType.Heading);
        }