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