• Injects the @Inject-decorated methods of this class into their respective classes.

    These injections will not be automatically cleaned up. To prevent a memory leak, make sure you always call Injector.deregister on the instance when you're done with it.

    Note: Due to the implementation, this operation is negligible, so don't worry about performance impacts of calling it.

    Note: If you want your instance's injections to be registered automatically, decorate the class with @Injector

    Type Parameters

    • T

    Parameters

    • injectorClass: Class<T, any[]>
    • instance: T

    Returns void

Generated using TypeDoc