CreateInstanceWithCustomInstanceFactory Method
CreateInstanceWithCustomInstanceFactory(Type, Object[])
Create an instance of the specified type using the specified arguments. The instance is created using a CustomInstanceFactory registered for the type, or using reflection if no instance factory is found.
Declaration
public object CreateInstanceWithCustomInstanceFactory(Type instanceType, object[] arguments)
Parameters
Type | Name | Description |
---|---|---|
System.Type | instanceType | |
System.Object[] | arguments |
Returns
Type | Description |
---|---|
System.Object |