예제 #1
0
 public static void Transform(IWikiDumpReader reader, IWikiDumpWriter writer, Func <WikiPage, bool> where)
 {
     writer.WritePages(reader.ReadPages().Where(where));
 }
 public IEnumerable <Block <string> > Read()
 {
     return(reader.ReadPages().Where(filter).Take(count).Batch(blockSize).Select(ToBlock));
 }
예제 #3
0
 public static void Transform(IWikiDumpReader reader, IWikiDumpWriter writer, Func <WikiPage, bool> filter, int count)
 {
     writer.WritePages(reader.ReadPages().Where(filter).Take(count));
 }