Class InvocationContext
Describes a method invocation context.
Inherited Members
Namespace: Solti.Utils.Proxy
Assembly: Solti.Utils.Proxy.dll
Syntax
public class InvocationContext : MethodContext
Constructors
InvocationContext(Object[], MethodContext)
Creates a new InvocationContext instance.
Declaration
public InvocationContext(object[] args, MethodContext methodContext)
Parameters
Type | Name | Description |
---|---|---|
System.Object[] | args | |
MethodContext | methodContext |
Properties
Args
The arguments passed by the caller.
Declaration
public object[] Args { get; }
Property Value
Type | Description |
---|---|
System.Object[] |
Remarks
Before the Target gets called you may use this property to inspect or modify parameters passed by the caller. After it you can read or amend the "by ref" parameters set by the target method.