Function AutowiredConstructorMethodConfiguratorPolicy.configureMethod

Configures instantiator to use @autowired constructor method, to construct the component.

void configureMethod(string member, T, Z) (
  T instantiator,
  Locator!() locator
);

Parameters

NameDescription
Z component type
member method that is scanned. Only constructors are taken into account
instantiator component constructor
locator locator for component dependencies