Interface ValueProvider<T>

Type Parameters

  • T

Hierarchy

Properties

provide: Token<T>

An injection token.

transient?: true

Per default all instances are singleton (scoped to its scope). Enabling transient makes the Injector create always a new instance for every consumer.

useValue: T

The value to inject.

Generated using TypeDoc