Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add extension methods for IReturns to allow specifying return values exceptions on async methods in a synchronous way #60

Merged
merged 4 commits into from
Nov 19, 2013

Conversation

danielcweber
Copy link

I could use them so I wrote them. I hope you find them useful too, I can write those for more overloads if needed.

The changed formatting in the .csproj-file did not show up in my local diff, there's really just one line added (<Compile Include="Language\IReturnsExtensions.cs" />). Sorry for any inconveniences.

Daniel

…exceptions on async methods in a synchronous way.
@danielcweber
Copy link
Author

Yes, as I said, the local diff didn't show the whitespace changes and I wouldn't have committed if it had. Let's see if I can find a way to revert this. As an alternative, could you just reject the change on the .csproj file and add IReturnsExtensions.cs then manually to the project ?

@danielcweber
Copy link
Author

Think I did it.

@kzu
Copy link
Member

kzu commented Nov 14, 2013

Thanks for contributing this very useful feature @Blewzman .

May I ask you to add a couple unit tests to ensure we have good coverage and no regresions in the future? These tests will also serve as the requirements for vNext ;)

@danielcweber
Copy link
Author

Sure.

@danielcweber
Copy link
Author

Added some unit tests.

@kzu
Copy link
Member

kzu commented Nov 19, 2013

Thanks @Blewzman for this feature!

kzu added a commit that referenced this pull request Nov 19, 2013
Add extension methods for IReturns to allow specifying return values exceptions on async methods in a synchronous way
@kzu kzu merged commit 293a402 into devlooped:master Nov 19, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants