Click or drag to resize
weroSoft AG, Software
TypeManagerHelperAlignParameters Method (MethodInfo, Object)
The documentation is integral part of the weroSoft product documentation. This part is intended to be used by developers only.
Aligns a given array of parameters along the needs of the method call.

Namespace:  WeroSoft.ComponentModel.TypeResolving
Assembly:  WeroSoft.Core.Library (in WeroSoft.Core.Library.dll) Version: 3.0 Pre-Release
Syntax
C#
public static Object[] AlignParameters(
	this MethodInfo methodInfo,
	Object[] parametersToAlign
)

Parameters

methodInfo
Type: System.ReflectionMethodInfo
Method information used to align the given parameters.
parametersToAlign
Type: SystemObject
Parameters to align.

Return Value

Type: Object
Aligned parameters.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type MethodInfo. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This method aligns a given array of parameters according the definition of the 'params' modifier in a particular method information definition.
See Also