Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Config

A bind configuration for a given type in the IoC Container.

Hierarchy

  • Config

Implemented by

Index

Methods

Methods

provider

  • Inform a provider to be used to create instances when a dependency for the source type is requested.

    Parameters

    • provider: Provider

      The provider to create instances

    Returns Config

scope

  • Inform a scope to handle the instances for objects created by the Container for this binding.

    Parameters

    • scope: Scope

      Scope to handle instances

    Returns Config

to

  • Inform a given implementation type to be used when a dependency for the source type is requested.

    Parameters

    • target: Object

      The implementation type

    Returns Config

Generated using TypeDoc