|
I was told by someone in the IRC room that these break down into "expression trees", which the mobile platforms do not support. Doing searches in here and the forums haven't resulted in any second opinions, so I thought I'd ask directly. Has anyone used the Fluent syntaxes and/or Query Expressions in LINQ and had them successfully compile on the mobile platforms?
(comments are locked)
|
|
It should work fine with anonymous delegates, e.g.
With some extra testing, basic lambdas work
There are some still a few issues, but you can code around those most likely Darn it, Mike! :P
Mar 26 '11 at 06:09 PM
tylo
Thanks for explaining the anonymous delegates though. The book I had painted them as being a lot more ugly than that.
Mar 26 '11 at 06:09 PM
tylo
Edited the answer :)
Mar 28 '11 at 01:59 PM
Mike 3
(comments are locked)
|
|
Older question but I thought I'd add my experience. I work on a unity 3.5.X project that targets desktop and Android (specifically touchscreen PCs and Android tablets). We use Linq extensively in out project and have not run into any issues yet. That being said the client side queries are quite simple (where, min, max, orderby, select). We do use a lot of the extension methods as well (ToList, SelectAtIndex etc). Haven't had a problem yet (other than MonoDevelop completion not being up to par with VisualStudio). Haven't targeted iOS, so I can't speak to that.
(comments are locked)
|
