I'm using Autofac and would like to use AsyncInterceptor. However, I cannot register a class that implements IAsyncInterceptor because Autofac expects a class that implements IInterceptor.
From the example in the Readme I don't understand how I could use AsyncInterceptor with Autofac. I thought of using a class that implements IInterceptor decorating a class that implements IAsyncInterceptor.
Then I would register the class implementing IInterceptor with Autofac which, in turn, would use the class implementing IAsyncInterceptor.
Am not sure how to do it or whether it can be done.
Any help would be appreciated.
Thank you.
I'm using Autofac and would like to use AsyncInterceptor. However, I cannot register a class that implements IAsyncInterceptor because Autofac expects a class that implements IInterceptor.
From the example in the Readme I don't understand how I could use AsyncInterceptor with Autofac. I thought of using a class that implements IInterceptor decorating a class that implements IAsyncInterceptor.
Then I would register the class implementing IInterceptor with Autofac which, in turn, would use the class implementing IAsyncInterceptor.
Am not sure how to do it or whether it can be done.
Any help would be appreciated.
Thank you.