예제 #1
0
파일: RowSet.cs 프로젝트: xsharper/xsharper
 private static IEnumerable <Vars> filter(ScriptContext context, string where, IEnumerable <Vars> input)
 {
     foreach (var enumerable in input)
     {
         if ((bool)context.ExecuteWithVars(() => Utils.To <bool>(context.Eval(where)), enumerable, null))
         {
             yield return(enumerable);
         }
     }
 }