Class ServiceLocatorInstaller
Installer for the ServiceLocator aggregate. Creates and exposes a IServiceLocator instance.
Implements
Inherited Members
Namespace: Serenity.ServiceLocator.Installation.Installers
Assembly: Serenity.Global.Installation.dll
Syntax
public class ServiceLocatorInstaller : IInstaller
Constructors
ServiceLocatorInstaller()
Declaration
public ServiceLocatorInstaller()
Methods
GetServiceLocator()
Gets the installed IServiceLocator instance.
Declaration
public IServiceLocator GetServiceLocator()
Returns
| Type | Description |
|---|---|
| IServiceLocator | The installed service locator. |
Install()
Installs the service locator by creating a new DefaultServiceLocator instance.
Declaration
public void Install()