GenericFactoryImpl.setInstanceFactory

Sets the constructor of new object.

class GenericFactoryImpl(T)
@safe
setInstanceFactory

Parameters

factory InstanceFactory!T

a factory of objects of type T.

Return Value

Type: GenericFactory!T

The InstanceFactoryAware

Meta