Delegate DynamicInvoker
Represents invoker of a member.
Namespace: DotNext.Reflection
Assembly: DotNext.Reflection.dll
Syntax
public delegate object DynamicInvoker(object target, params object[] args);
Parameters
Type | Name | Description |
---|---|---|
Object | target | Target object; for static members should be null. |
Object[] | args | The arguments. |
Returns
Type | Description |
---|---|
Object | The result of member invocation. |
Remarks
Arguments dependending on the member:
Field-Read operation doesn't require arguments; Write operation requires single argument with field value.