IMethodBinding.Invoke Method |
Invokes the next node in the chain of invocation.
Namespace: PostSharp.Aspects
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
Object Invoke( ref Object instance, Arguments arguments )
Parameters
- instance
- Type: System.Object
Target instance on which the method should be invoked (null if the method is static). - arguments
- Type: PostSharp.Aspects.Arguments
Method arguments.
Return Value
Type: ObjectReturn value of the method.
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.