dorba / blade

The core tools for Blade rich client development.
89 stars 14 forks source link

Signature of "map" #13

Closed CheloXL closed 12 years ago

CheloXL commented 12 years ago

I believe the signature of the extension method should be changed to

public static TOut[] map<T, TOut>(this T[] array, Func<T, int, T[], TOut> callback, object thisObj = null)

As it does not makes much sense to have the return type to be T[] if the mapping method returns TOut.

dorba commented 12 years ago

You are correct! I updated the file and latest installer to include the fix. Thanks.