DI.resolve

Returns the singleton instance of the requested type.

Automatically constructs a new one if needed.

  1. T resolve()
    class DI
    T
    resolve
    (
    T
    )
    ()
    if (
    isClass!T ||
    isInterface!T
    ||
    isStructPointer!T
    )
  2. T* resolve()

Meta