Example #1
0
        private void LoadFiles()
        {
            DirectoryInfo d     = new DirectoryInfo(Directory);
            var           files = d.GetFiles("*.*").ToList();

            files.ForEach(file =>
            {
                var content = File.ReadAllBytes(file.FullName);
                FileActions.Add(new ModifyFileAction(file.Name, content));
            });
        }