seesharper / LightInject.Interception

LightInject.Interception supports Aspect Oriented Programming through proxy-based method interceptors.
11 stars 7 forks source link

Async interception bug #7

Closed eugene-chehovskoy closed 8 years ago

eugene-chehovskoy commented 8 years ago

Hi,

I tried to use new asynchronous interception feature, but it seems like it has a bug: method async Task<T> InvokeAsync<T> isn't fired. I checked object Invoke and async Task InvokeAsync methods and they work fine.

seesharper commented 8 years ago

Can you show me a complete example where this does not work. Tests are all green on my side

eugene-chehovskoy commented 8 years ago

I created a small console project which shows that issue. InterceptionTest.zip

seesharper commented 8 years ago

I think I got it. I just need to figure out why my tests are passing :) I'll get back at you

seesharper commented 8 years ago

LightInject.Interception v1.2.1 has been published to NuGet