示例#1
0
 private static void RunForSingleFile(IBytesReader bytesReader, CmdOptions options)
 {
     Console.WriteLine(
         bytesReader
         .ReadBytes(options.Path)
         .Format(options.Separator, options.BytesSeparator));
 }
示例#2
0
        public void Run()
        {
            Action <string> fileFunc = (string path) =>
                                       Console.WriteLine(
                _bytesReader
                .ReadBytes(path)
                .Format(_separator, _bytesSeparator));

            _fileWalker.Walk(fileFunc);
        }