Hello!

Have you tried? Got any relevant errors? Can you share a sample project?

Regards,
-- 
Ilya Kasnacheev


ср, 26 дек. 2018 г. в 12:39, Som Som <2av10...@gmail.com>:

> hello.
>
> i would like to use labda expression for initial and remote filters of
> continousquery. simething like this:
>
> [Serializable]
>
>     public class ScanQueryFilter3 :ICacheEntryFilter<int, Employee>
>
>     {
>
>         private readonly Expression<Func<ICacheEntry<int, Employee>, bool>>
> _pdct;
>
>
>
>         public ScanQueryFilter3(Expression<Func<ICacheEntry<int, Employee
> >, bool>> pdct)
>
>         {
>
>             _pdct = pdct;
>
>         }
>
>
>
>         public bool Invoke(ICacheEntry<int, Employee> entry)
>
>         {
>
>             return _pdct.Compile().Invoke(entry);
>
>         }
>
>     }
> is it possible? do you have examples?
>
>
>

Reply via email to