コード例 #1
0
ファイル: BaseRecordDumper.cs プロジェクト: possan/mapreduce
 public void Dump(IFileSource<string, string> filesource, string title)
 {
     DumpHeader(title);
     var fn = "";
     while (filesource.ReadNext(out fn))
     {
         var reader = filesource.CreateStreamReader(fn);
         string k, v;
         while (reader.Read(out k, out v))
             WriteLine(k + " => " + v);
     }
     DumpFooter(title);
 }