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 ( |
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.