Example #1
0
        public static IList <Statement> SelectList(this SelectableSource src, SelectFilter filter, bool distinct, int maxStatements)
        {
            var sink = new StatementListSink(distinct, maxStatements);

            src.Select(filter, sink);
            return(sink.List);
        }
 public static IList<Statement> SelectList(this SelectableSource src, SelectFilter filter, bool distinct, int maxStatements)
 {
     var sink = new StatementListSink(distinct,maxStatements);
     src.Select(filter, sink);
     return sink.List;
 }