Definition at line 210 of file service_locator.hpp.
◆ AddFactory()
template<typename Interface >
ServiceBuilder & plugify::ServiceLocator::ServiceBuilder::AddFactory |
( |
std::function< std::shared_ptr< Interface >()> |
factory | ) |
|
|
inline |
◆ AddSingleton() [1/2]
template<typename Interface , typename Implementation = Interface>
ServiceBuilder & plugify::ServiceLocator::ServiceBuilder::AddSingleton |
( |
| ) |
|
|
inline |
◆ AddSingleton() [2/2]
template<typename Interface >
ServiceBuilder & plugify::ServiceLocator::ServiceBuilder::AddSingleton |
( |
std::shared_ptr< Interface > |
instance | ) |
|
|
inline |
◆ AddTransient()
template<typename Interface , typename Implementation = Interface>
ServiceBuilder & plugify::ServiceLocator::ServiceBuilder::AddTransient |
( |
| ) |
|
|
inline |
The documentation for this class was generated from the following file: