![]() | Service |
The ServiceLocator type exposes the following members.
Name | Description | |
---|---|---|
![]() ![]() | BeginServiceT | Starts the usage of a service of the provided type T. If an already registered service of this type exists, the registered service is used. If the service is not registered it is registered using the provided method. |
![]() ![]() | EndService | Ends the usage of the provided service. If the service was newly registered when it was started in BeginServiceT(FuncT, T) it will be unregistered calling the provided unregistration method. |
![]() ![]() | GetServiceT | Gets a service for the provided service interface |
![]() ![]() | RegisterT | Registers a service which will be locatable |
![]() ![]() | UnRegisterT | Removes a service of this type from the registration which will afterwards no more locatable |