Click or drag to resize

ServiceLocator Methods

The ServiceLocator type exposes the following members.

Methods
 NameDescription
Public methodStatic memberBeginServiceT 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.
Public methodStatic memberEndService 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.
Public methodStatic memberGetServiceT Gets a service for the provided service interface
Public methodStatic memberRegisterT Registers a service which will be locatable
Public methodStatic memberUnRegisterT Removes a service of this type from the registration which will afterwards no more locatable
Top
See Also