Legal Notice, Privacy Policy

Impressum, Datenschutzerklärung

Cerberus X Documentation

Class ArrayBoxer<T>

The ArrayBoxer class is a utility class that allows you to box and unbox arrays for use with reflection. More...

Declarations

Functions
Box : Object ( value:T[] ) Box an array.
Unbox : T[] ( box:Object ) Unbox an array.

Detailed Discussion

The ArrayBoxer class is a utility class that allows you to box and unbox arrays for use with reflection.

Box objects can be passed to the SetValue methods of FieldInfo and GlobalInfo objects, and used as parameters for the Invoke methods of MethodInfo and FunctionInfo objects.

Box objects are also returned by the GetValue methods of ConstInfo, FieldInfo and GlobalInfo objects, and by the Invoke methods of MethodInfo and FunctionInfo objects.


Functions Documentation

Function Box : Object ( value:T[] )

Box an array.

Function Unbox : T[] ( box:Object )

Unbox an array.