discordx
    Preparing search index...

    Class TsyringeDependencyRegistryEngine

    Interface to facilitate the ability to add custom IOC containers by conforming to the proxy of adding and retrieval of services

    Hierarchy (View Summary)

    Index
    _serviceSet: Set<unknown>
    injector: DependencyContainer | undefined
    useToken: boolean
    token: symbol
    • Add a service from the IOC container.

      Parameters

      • serviceConstructor: any

        The type of service to add

      Returns void

    • Parameters

      • factory: Factory

      Returns this

    • Parameters

      • token: symbol

      Returns this