injected.provider

Undocumented in source.

Members

Classes

ClassProvider
class ClassProvider(T)

A Provider that instantiates instances of a class.

FactoryProvider
class FactoryProvider(alias F)
class FactoryProvider(F)

A provider that uses a factory function (or other callable) to get the value.

SingletonProvider
class SingletonProvider

A Provider that uses another provider to create an instance the first time provide is called. Future calls to provide will return this same instance.

ValueProvider
class ValueProvider(T)

A Provider that provides a value. The value is provided at construction type and the same value is returned each time provide is called.

Interfaces

Provider
interface Provider

Interface for a provider for dependency injection. A provider knows about the type it produces, and can produce a value.

Meta