PostSharp6.5//API Reference/Post­Sharp.​Reflection Namespace/Object­Construction Class/Object­Construction Constructor/Object­Construction Constructor (Constructor­Info, Object[])

ObjectConstruction Constructor (ConstructorInfo, Object[])

Initializes a new type-safe ObjectConstruction from a ConstructorInfo.

Namespace:  PostSharp.Reflection
Assembly:  PostSharp (in PostSharp.dll) Version: 6.5.10.0 (6.5.10.0)
Syntax
C#
public ObjectConstruction(
	ConstructorInfo constructor,
	params Object[] constructorArguments
)

Parameters

constructor
Type: System.Reflection.ConstructorInfo
Constructor.
constructorArguments
Type: System.Object[]
Arguments passed to the constructor.
See Also