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

ObjectConstruction Constructor (String, Object[])

Initializes a new ObjectConstruction by specifying a type name and a list of constructor arguments.

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

Parameters

typeName
Type: System.String
Name of the object type.
constructorArguments
Type: System.Object[]
Arguments passed to the constructor.
See Also