Options
All
  • Public
  • Public/Protected
  • All
Menu

Default Scope that always create a new instace for any dependency resolution request

Hierarchy

Index

Properties

Methods

Properties

Static Local

Local: Scope

A reference to the LocalScope. Local Scope return a new instance for each dependency resolution requested. This is the default scope.

Static Singleton

Singleton: Scope

A reference to the SingletonScope. Singleton Scope return the same instance for any dependency resolution requested.

Methods

reset

  • reset(source: Function): void
  • Called by the IoC Container when some configuration is changed on the Container binding.

    Parameters

    • source: Function

      The source type that has its configuration changed.

    Returns void

resolve

  • resolve(provider: Provider, source: Function): Object

Generated using TypeDoc