MainServiceLocator

Holds the pre-configured, application-wide SimpleServiceLocator instance.

This object is the central access point for all services when using the simple-scaffold.

On Android, this locator is initialized automatically on app startup. If you need to customize the initialization process, you must first disable the automatic initializer.

See also

Properties

Link copied to clipboard

Functions

Link copied to clipboard

Initializes the MainServiceLocator instance. If the If the serviceLocator's scope is ServiceLocatorScope.Production, this will throw an exception if the instance is already initialized. Otherwise it will overwrite the current instance.

Initializes the MainServiceLocator instance. If the If the scope is ServiceLocatorScope.Production, this will throw an exception if the instance is already initialized. Otherwise it will overwrite the current instance.