A class which encapsulates the Service Locator Pattern for Module Factories

Constructors

Properties

_registry: CreatableModuleRegistry = ...

Accessors

Methods

  • Registers a single module factory (with optional tags) with the locator

    Parameters

    • factory: CreatableModuleFactory

      The factory to register

    • Optionallabels: Labels

      The labels for the module factory

    • primary: string | boolean | string[] = false

    Returns this