register

Register a new factory for type T object into storage/DI container by id.

Parameters

Type

the type of object registered in storage

storage ConfigurableContainer

the storage where factory will be stored.

id string

the identity by which to register the factory in storage.

Return Value

Type: auto

GenericFactory implementation for further configuration.

Meta