Re: [IronPython] Expression and lambda functions

2010-06-14 Thread Jeff Hardy
On Mon, Jun 14, 2010 at 3:12 AM, Severin Obertuefer wrote: > how can I convert the lambda function to the expeced expression type? It's not currently possible, as far as I know. You should vote for issue #26044 http://ironpython.codeplex.com/workitem/26044 . - Jeff __

[IronPython] Expression and lambda functions

2010-06-14 Thread Severin Obertuefer
Hello I have an c# class with a method taking an expression: *Refresh(System.Linq.Expressions.Expression> 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 of *Refresh(lambda a: a.ShopArtikel