PostSharp 5.0 / / Post­Sharp Documentation / 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: 5.0.55.0 (5.0.55.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