|
lintel 0.2.0
|
#include <Container.h>
Public Member Functions | |
| RegistrationBuilder (std::shared_ptr< Registration > registration) | |
| template<typename TInterface > | |
| RegistrationBuilder & | as () |
| RegistrationBuilder & | asSelf () |
| RegistrationBuilder & | singleInstance () |
Fluent handle returned by ContainerBuilder::registerType<T>().
|
inlineexplicit |
| registration | the registration being configured |
|
inline |
Also expose the instance under the given interface.
|
inline |
Explicit no-op: a registration is always reachable as its concrete type.
|
inline |
Cache and reuse a single instance for all keys of this registration.