 | IMethodInterceptorOnExit.OnExit Method |
Invoked if the intercepted method has finished executing. Renders the
OnExit() useless.
If the
returnType is a
Void, then
returnValue is null.
Namespace:
Cauldron.Interception
Assembly:
Cauldron.Interception (in Cauldron.Interception.dll) Version: 1.0.0
SyntaxParameters
- returnType
- Type: System.Type
The return type of the method. - returnValue
- Type: System.Object
The return value of the method.
Return Value
Type:
ObjectThe return value of the method.
Examplespublic object OnExit(Type returnType, object returnValue)
{
return returnValue;
}
See Also