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

    Constructors

    Properties

    _serviceSet: Set<unknown>
    injector: undefined | DependencyContainer
    useToken: boolean
    token: symbol

    Accessors

    Methods

    • 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