• Resolve the current container.

    Returns

    Current concrete container. If no match is found, a DefaultContainer.

    Parameters

    • Optional force: boolean

      (Optional) Determines whether to always create a new instance or returned the cached instance.

    Returns Container

  • Resolve the current container.

    Returns

    Current concrete container. If no match is found, a DefaultContainer.

    Parameters

    • Optional options: any

      (Optional) Options to pass through to condition and create factory method.

    Returns Container

  • Resolve the current container.

    Returns

    Current concrete container. If no match is found, a DefaultContainer.

    Parameters

    • force: boolean

      Determines whether to always create a new instance or returned the cached instance.

    • Optional options: any

      (Optional) Options to pass through to condition and create factory method.

    Returns Container