discordx
    Preparing search index...

    Class DefaultDependencyRegistryEngine

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

    Implements

    Index
    • Add a service from the IOC container.

      Parameters

      • serviceConstructor: any

        The type of service to add

      Returns void

    • Get a service from the IOC container

      Type Parameters

      • T

      Parameters

      • classType: T

        the Class of the service to retrieve

      Returns InstanceOf<T>

      the instance of this service or null if there is no instance