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)); }
public static void Transform(IWikiDumpReader reader, IWikiDumpWriter writer, Func <WikiPage, bool> filter, int count) { writer.WritePages(reader.ReadPages().Where(filter).Take(count)); }