PostSharpAPI ReferencePost­Sharp.​AspectsIMethod­BindingInvoke
Open sandboxFocus

IMethodBinding.Invoke Method

Invoke(ref Object, Arguments)

Invokes the next node in the chain of invocation.

Declaration
object Invoke(ref object instance, Arguments arguments)
Parameters
Type Name Description
Object instance

Target instance on which the method should be invoked (null if the method is static).

Arguments arguments

Method arguments.

Returns
Type Description
Object

Return value of the method.

Remarks

The instance parameter is passed by reference so that instance methods of value types ( struct in C#) are allowed to change the value of the instance.