[IronPython] Expression and lambda functions
seob at gmx.ch
Mon Jun 14 02:12:15 PDT 2010
I have an c# class with a method taking an expression:
*Refresh(System.Linq.Expressions.Expression<Func<T, bool>> predicate)*
in c# I can call it like;
*Refresh(a => a.ShopArtikel == true);*
is it possible to call the method from python in a similar way? I'm thinking
*Refresh(lambda a: a.ShopArtikel == true)*
how can I convert the lambda function to the expeced expression type?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users