ObjectConstruction(string, params object[])
Initializes a new instance of the ObjectConstruction class by specifying a type name and a list of constructor arguments.
Declaration
public ObjectConstruction(string typeName, params object[] constructorArguments)Parameters
| Type | Name | Description |
|---|---|---|
| string | typeName | The name of the object type. |
| object[] | constructorArguments | Arguments passed to the constructor. |
ObjectConstruction(Type, params object[])
Initializes a new instance of the ObjectConstruction class by specifying a type and a list of constructor arguments.
Declaration
public ObjectConstruction(Type type, params object[] constructorArguments)Parameters
| Type | Name | Description |
|---|---|---|
| Type | type | The object type. |
| object[] | constructorArguments | Arguments passed to the constructor. |
ObjectConstruction(ConstructorInfo, params object[])
Initializes a new type-safe instance of the ObjectConstruction class from a ConstructorInfo.
Declaration
public ObjectConstruction(ConstructorInfo constructor, params object[] constructorArguments)Parameters
| Type | Name | Description |
|---|---|---|
| ConstructorInfo | constructor | The constructor. |
| object[] | constructorArguments | Arguments passed to the constructor. |
ObjectConstruction(CustomAttributeData)
Initializes a new type-safe instance of the ObjectConstruction class from a CustomAttributeData.
Declaration
public ObjectConstruction(CustomAttributeData customAttributeData)Parameters
| Type | Name | Description |
|---|---|---|
| CustomAttributeData | customAttributeData |