IAsyncMethodInterceptor Methods |
The IAsyncMethodInterceptor type exposes the following members.
Name | Description | |
---|---|---|
Intercept |
Called before the method is invokved. You are now responsible for evaluating
the function and returning the result.
(Inherited from IMethodInterceptor.) | |
InterceptAsync |
Called before an async method is invoked. You are now responsible for evaluating
the function and returning the result. Only methods that return a Task
will call this method, other non asynchronous types will call
Intercept(FuncObject, Object, Object, String).
(async void method will also call Intercept as they do not return a Task).
|