PostSharpAPI ReferencePost­Sharp.​ReflectionCustom­Reflection­BinderReorder­Argument­Array
Open sandboxFocus

CustomReflectionBinder.ReorderArgumentArray Method

ReorderArgumentArray(ref Object[], Object)

Upon returning from BindToMethod(BindingFlags, MethodBase[], Object[], ParameterModifier[], CultureInfo, String[], Object), restores the args argument to what it was when it came from langword_csharp_BindToMethod.

public override void ReorderArgumentArray(ref object[] args, object state)
Type Name Description
Object[] args

The actual arguments that are passed in. Both the types and values of the arguments can be changed.

Object state

A binder-provided object that keeps track of argument reordering.