WrappingFactory

Wraps up the result of some factory in Wrapper object if component is not derived from Object.

Constructors

this
this(T factory)

Constructor for WrappingFactory!(T, Z)

Members

Functions

destruct
void destruct(Object component)

Destructs a component of type T.

factory
Object factory()

Instantiates component of type T.

Properties

allocator
RCIAllocator allocator [@property setter]

Set allocator

allocator
RCIAllocator allocator [@property getter]

Get allocator

decorated
T decorated [@property setter]

Set the decorated object for decorator.

decorated
inout(T) decorated [@property getter]

Get the decorated object.

locator
Locator!() locator [@property setter]

Set a locator to object.

type
TypeInfo type [@property getter]

Get the type info of T that is created.

Meta