articles sorted by relevance / date

extension methods

  1. Extension Methods Roundup: IndicesWhere, TakeEvery, Distinct details »
    weblogs.asp.net Posted 9 weeks and 4 days ago by Omer van Kloeten feed details »

    As I do from time to time, here is a batch of three Extension Methods I've written recently: IndicesWhere /// <summary> /// Gets the indices where the predicate...

  2. Linq: FirstOrFallback details »
    weblogs.asp.net Posted 13 weeks and 1 day ago by Omer van Kloeten feed details »

    Sometimes you want to use FirstOrDefault, but the default value of T is a valid value that might get returned. If you used FirstOrDefault, you wouldn't know whether the...

  3. Closures Prototype Update and Extension Methods details »
    gafter.blogspot.com Posted 35 weeks and 1 day ago by Neal Gafter feed details »

    Closures Prototype Update The Closures for Java prototype now allows a closure to access mutated local variables from an enclosing scope. You can download the...

  4. Linq: ContainsAtLeast and AggregationOrDefault details »
    weblogs.asp.net Posted 15 weeks and 4 days ago by Omer van Kloeten feed details »

    I've created a couple of useful extension methods that I like to use with Linq, so here they are: ContainsAtLeast I've noticed that there's no way to find out whether a...

  5. Simplifying the WeakEvent Pattern details »
    weblogs.asp.net Posted 36 weeks and 3 days ago by Omer van Kloeten feed details »

    Building on the work started by William Kempf, I set out to make using the WeakEvent Pattern simpler and more readable. My intention was to make sure the user would have...

  6. Linq Extensions Release 2 Now on CodePlex details »
    weblogs.asp.net Posted 13 weeks and 1 day ago by Omer van Kloeten feed details »

    I've updated my long standing Linq Extensions project on CodePlex to .NET 3.5 RTM and added the latest extension methods. You can open bugs and feature requests using...

  7. Java Closures: first prototype details »
    gafter.blogspot.com Posted 38 weeks and 3 days ago by Neal Gafter feed details »

    I've finally had some time to make progress on a prototype of closures. If you want to see what an API looks like, you can compare Doug Lea's jsr166y fork-join...

  8. Linq to LLBLGen Pro: feature highlights, part 2 details »
    weblogs.asp.net Posted 3 weeks ago by FransBouma feed details »

    In the first part of this series I talked about the fact that Linq to LLBLGen Pro is a full implementation of Linq and why it's so important to use a full linq provider...