DefaultFailingInstanceFactory

An instance constructor aimed to throw exception.

An instance constructor aimed to throw exception, when a component has elaborate constructor, yet no constructor was configured for generic factory to use those elaborate constructors.

@safe
class DefaultFailingInstanceFactory : InstanceFactory!T(
T
) {}

Members

Functions

factory
T factory()

Create a new instance of object of type T.

Mixins

__anonymous
mixin AllocatorAwareMixin!(typeof(this))
Undocumented in source.
__anonymous
mixin LocatorAwareMixin!(typeof(this))
Undocumented in source.

Meta