addCreator<T> method

void addCreator<T>(
  1. Creator<T> objectCreator
)

Adds InjectFactory with objectCreator function.

Implementation

void addCreator<T>(Creator<T> objectCreator) {
  injectMap[T] = CreatorInjectFactory<T>(objectCreator);
}