factory

Creates a new instance of class with the given name

T
factory
(
T
)
(
string name
)

Parameters

name string

the fully qualified name of the class

Return Value

Type: T

the newly created instance or null

Meta