Interface

InjectablesRegistry

injectable-decorators.InjectablesRegistry

Contract for a registry that manages injectable objects.

View Source registry.ts, line 105

Members

T

# build

Instantiates an injectable class using its constructor and the provided arguments.

Creates a new instance of an injectable class.

View Source registry.ts, line 135

Injectable.<T> | undefined

# get

Retrieves an Injectable from the registry by name, optionally passing constructor arguments.

Fetches an injectable instance by its registered name.

View Source registry.ts, line 113

void

# register

Registers an injectable constructor or instance with the registry, making it available for injection.

Adds a class or object to the injectable registry.

View Source registry.ts, line 124