RegistrationAwareDecoratingFactory

A decorating factory, that adds component registration information when decorated factory threws some kind of exception.

Members

Functions

destruct
void destruct(T component)

Destructs a component of type T.

factory
T factory()

Instantiates component of type T.

Mixins

__anonymous
mixin AllocatorAwareDecoratorMixin!(typeof(this))
Undocumented in source.
__anonymous
mixin MutableDecoratorMixin!(Factory!T)
Undocumented in source.

Properties

file
string file [@property setter]

Set file in which registration occurred.

file
string file [@property getter]

Get file in which registration occurred.

line
size_t line [@property setter]

Set line in file on which registration occurred.

line
size_t line [@property getter]

Get line in file on which registration occurred.

locator
Locator!() locator [@property setter]

Set a locator for depedencies.

type
TypeInfo type [@property getter]

Get the type info of T that is created.

Inherited Members

From RegistrationLocation

file
string file [@property getter]

Get file in which registration occurred.

line
size_t line [@property getter]

Get line in file on which registration occurred.

Meta