Click or drag to resize

IMethodInterceptorOnExit Interface

This extension adds an additional OnExit(Type, Object) method, which allows the interceptor to read and modify the return value of the method. Adding this interface to the IMethodInterceptor will render the OnExit useless.

This interceptor extension is only available for the IMethodInterceptor.

Namespace:  Cauldron.Interception
Assembly:  Cauldron.Interception (in Cauldron.Interception.dll) Version: 1.0.0
Syntax
public interface IMethodInterceptorOnExit

The IMethodInterceptorOnExit type exposes the following members.

Methods
  NameDescription
Public methodCode exampleOnExit
Invoked if the intercepted method has finished executing. Renders the OnExit useless. If the returnType is a Void, then returnValue is null.
Top
See Also