TODO: Split into ContainerBuilder and Container (or [Dependency]Registry and [Dependency]Container) Oooh, idea: Container container = Container(Registry1(), Registry2(), ...);.
More...
#include <di.h>
TODO: Split into ContainerBuilder and Container (or [Dependency]Registry and [Dependency]Container) Oooh, idea: Container container = Container(Registry1(), Registry2(), ...);.
Definition at line 50 of file di.h.
◆ Containers()
auto const & ghassanpl::di::Container::Containers |
( |
| ) |
const |
|
inline |
Definition at line 87 of file di.h.
◆ Create()
std::shared_ptr< TYPE > ghassanpl::di::Container::Create |
◆ CreateRaw()
std::unique_ptr< TYPE > ghassanpl::di::Container::CreateRaw |
◆ DebugStore()
auto const & ghassanpl::di::Container::DebugStore |
( |
| ) |
const |
|
inline |
Definition at line 88 of file di.h.
◆ DestroyAll()
void ghassanpl::di::Container::DestroyAll |
( |
| ) |
|
|
inline |
Definition at line 81 of file di.h.
◆ HasAnyImplementationsOf()
bool ghassanpl::di::Container::HasAnyImplementationsOf |
◆ RegisterType()
void ghassanpl::di::Container::RegisterType |
( |
ARGS &&... |
args | ) |
|
◆ Resolve()
std::shared_ptr< INTERFACE > ghassanpl::di::Container::Resolve |
◆ ResolveAll()
std::vector< std::shared_ptr< INTERFACE > > ghassanpl::di::Container::ResolveAll |
◆ ResolveByName()
std::shared_ptr< INTERFACE > ghassanpl::di::Container::ResolveByName |
( |
std::string_view |
name | ) |
|
◆ DefaultLifetime
Lifetime ghassanpl::di::Container::DefaultLifetime |
Definition at line 52 of file di.h.