Click or drag to resize
weroSoft AG, Software
TypeManagerHelperAlignParameters Method (MemberInfo, 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
Syntax
C#
public static Object[] AlignParameters(
	this MemberInfo memberInfo,
	params Object[] parametersToAlign
)

Parameters

memberInfo
Type: System.ReflectionMemberInfo
Member 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 MemberInfo. 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