示例#1
0
 public void process()
 {
     var files= Directory.GetFiles(Folder);
     var process_list =
         new FileReadableFilter().filter(
             new FileExtensionFilter().filter(
             new FileNameFilter("Test").filter(
                 new FileInfoConverter().convert(files))));
     foreach (var file_info in process_list)
     {
         Console.WriteLine("Processing {0}", file_info.FullName);
     }
 }
示例#2
0
        public void process()
        {
            var files        = Directory.GetFiles(Folder);
            var process_list =
                new FileReadableFilter().filter(
                    new FileExtensionFilter().filter(
                        new FileNameFilter("Test").filter(
                            new FileInfoConverter().convert(files))));

            foreach (var file_info in process_list)
            {
                Console.WriteLine("Processing {0}", file_info.FullName);
            }
        }