Real-Serious-Games / C-Sharp-Promise

Promises library for C# for management of asynchronous operations.
MIT License
1.19k stars 149 forks source link

Renamed IPromise<T>.Transform to IPromise<T>.Then #15

Closed biro456 closed 8 years ago

biro456 commented 8 years ago

As suggested on #4 and since no one created the pull request, here it is. Also, I use the Productivity Power Tools extension on Visual Studio and it picked some mixed indentation on some files, so I fixed them.

ashleydavis commented 8 years ago

What about the Transform function for the non-generic promise? Are you able to change that over to Then as well?

biro456 commented 8 years ago

The non-generic promise doesn't have a Transform method. It doesn't need it because there is no value to transform.

ashleydavis commented 8 years ago

Merged, will release a new version on nuget. Thanks for your contribution!