Tidro / linqbridge

Automatically exported from code.google.com/p/linqbridge
Other
0 stars 0 forks source link

No ForEach in Enumerable #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In LinqBridge 1.0 there was method ForEach and it's not in 1.1 anymore.
ForEach is pretty convenient.
Is there any particular reason why it's gone?

Original issue reported on code.google.com by Konst...@gmail.com on 28 Jan 2010 at 10:03

GoogleCodeExporter commented 9 years ago
We decided to drop ForEach because:

1. It's not there in System.Linq.Enumerable either. 
2. The goal of LINQBridge is to enable the standard query operators of LINQ on 
.NET 
Framework 2.0 but not more.
3. It's dead easy to implement for those who really need it.

If you're looking for operators beyond LINQ, see the MoreLINQ project:

http://morelinq.googlecode.com

MoreLINQ also supplies ForEach:

http://tinyurl.com/morelinq-foreach

Original comment by azizatif on 28 Jan 2010 at 6:40

GoogleCodeExporter commented 9 years ago
One minor issue is that MoreLINQ references System.Core which is not in .Net 
2.0.
I'll have to recompile it manually with LinqBridge and with target framework 
2.0.

Original comment by Konst...@gmail.com on 28 Jan 2010 at 8:38

GoogleCodeExporter commented 9 years ago
I would recommend opening an issue at MoreLINQ to make it available for .NET 
Framework 2.0 using LINQBridge.

Original comment by azizatif on 28 Jan 2010 at 8:43