Open sandboxFocus

Method CreateInstance

CreateInstance(Type, IArgumentsReader)

Creates an instance of the given type.

Declaration
public override object CreateInstance(Type type, IArgumentsReader constructorArguments)
Parameters
Type Name Description
Type type

Type of the instance to be created.

IArgumentsReader constructorArguments

Gives access to arguments required to create the instance.

Returns
Type Description
object

An instance of type type initialized using constructorArguments.

Overrides

CreateInstance(IArgumentsReader)

Declaration
public abstract T CreateInstance(IArgumentsReader constructorArguments)
Parameters
Type Name Description
IArgumentsReader constructorArguments
Returns
Type Description
T