DelegatingInstanceFactory

InstanceFactory that delegates the task of instantiating a component to some third party factory.

class DelegatingInstanceFactory : InstanceFactory!T, MutableDecorator!(Factory!X)(
T
X : T
) {}

Constructors

this
this()

Default constructor for DelegatingInstanceFactory!(T, X)

this
this(Factory!X factory)

Constructor for DelegatingInstanceFactory!(T, X)

Members

Functions

factory
T factory()

Create a new instance of object of type T.

Properties

decorated
Factory!X decorated [@property getter]

Get the decorated object.

decorated
Factory!X decorated [@property setter]

Set the decorated object for decorator.

Meta