addTransientFactory<TService extends Object> method
Registers a transient service of the specified TService
type
implemented by the specified factory
.
Implementation
void addTransientFactory<TService extends Object>(
ServiceFactory<TService> factory,
) {
addFactory(ServiceLifetime.transient, factory);
}