A factory function that creates an instance of a class with a list of arguments.
The argument types for the FactoryClass.
The return type.
A factory function that creates an instance of a class with a list of arguments.