addLazy<T> method

dynamic addLazy<T>(
  1. StoreFactoryFunc<T> func
)

registers lazy instances ( they get instantiated on first request )

Implementation

addLazy<T>(StoreFactoryFunc<T> func) {
  _map[T] = _StoreFactory<T>(_StoreFactoryType.lazy, func: func);
}