Spring.NET 1.3.0 RC1 for .NET 2.0 API Reference

ReflectionUtils.PackageParamArray Method

Packages arguments into argument list containing parameter array as a last argument.

[Visual Basic]
Public Shared Sub PackageParamArray( _
   ByVal argValues As Object, _
   ByVal argCount As Integer, _
   ByVal elementType As Type _
)
[C#]
public static object[] PackageParamArray(
   object[] argValues,
   int argCount,
   Type elementType
);

Parameters

argValues
Argument vaklues to package.
argCount
Total number of oarameters.
elementType
Type of the param array element.

Return Value

Packaged arguments.

See Also

ReflectionUtils Class | Spring.Util Namespace