logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    Class ServiceLocatorInstaller

    Installer for the ServiceLocator aggregate. Creates and exposes a IServiceLocator instance.

    Inheritance
    object
    ServiceLocatorInstaller
    Implements
    IInstaller
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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()

    Implements

    IInstaller
    In this article
    © 2026 Serenity. All Rights Reserved