ConstructorMethodConfiguratorPolicy.configureMethod

Checks if scanned method is a constructor and has @constructor annotation, and sets it to be used to construct component if so.

struct ConstructorMethodConfiguratorPolicy
static
void
configureMethod
(
string member
Z
)

Parameters

Z

component type

member

member that should be scanned, only constructors are taken into account

instantiator T

Z component factory, which policy will set constructor to be used to construct component if possible

locator Locator!()

locator used to supply dependencies into constructor of component

Meta