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

    Constructors

    Accessors

    Methods

    • Add a service from the IOC container.

      Parameters

      • ServiceConstructor: any

      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