PostSharpAPI ReferencePost­Sharp.​AspectsMethod­Interception­ArgsInvoke
Open sandboxFocus

MethodInterceptionArgs.Invoke Method

Invoke(Arguments)

Invokes the method that has been intercepted by calling the next node in the chain of invocation with given arguments, without affecting the property ReturnValue.

Declaration
public abstract object Invoke(Arguments arguments)
Parameters
Type Name Description
Arguments arguments

Arguments passed to the intercepted method.

Returns
Type Description
Object

Value returned by the intercepted method.