RegistrationAwareDecoratingFactory

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

Members

Functions

factory
T factory()

Instantiates component of type T.

Properties

decorated
Factory!T decorated [@property setter]

Set the decorated factory for decorator.

decorated
Factory!T decorated [@property getter]

Get the decorated object.

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