addBoundFactory<T> abstract method

void addBoundFactory<T>(
  1. T boundFactory(
    1. T bind(
      1. IScopeProxy
      )
    )
)

Bind the boundFactory to be injected to the type T on the InjectorScope.

This is used in cases where the factory needs to call something inside the T which will need to use injected values.

example``` if.addBoundFactory

Implementation

void addBoundFactory<T>(
    T Function(T Function(IScopeProxy) bind) boundFactory);