1
Fork 0
mirror of https://github.com/SapphireServer/Sapphire.git synced 2025-05-24 02:27:46 +00:00

keep the original comment

This commit is contained in:
collett 2023-02-07 06:34:54 +09:00
parent d47f26fc1f
commit 3d10df890e

View file

@ -11,8 +11,16 @@
namespace Sapphire::Common
{
/**
* @brief Replacement of Sapphire's Service locator which is not working when compiling under Visual Studio, keeping its api.
*/
* @brief Service locator, nothing more.
*
* A service locator can be used to do what it promises: locate services.<br/>
* Usually service locators are tightly bound to the services they expose and
* thus it's hard to define a general purpose class to do that. This template
* based implementation tries to fill the gap and to get rid of the burden of
* defining a different specific locator for each application.
*
* Implementaion of the Service locator is replaced with a workaround for Visual Studio, api unchanged.
*/
class ServiceContainer
{