ConstructorMethodConfiguratorPolicy

Method configurator policy that scans only constructors for @constructor annotation, for using them to instantiate component Z

@safe
struct ConstructorMethodConfiguratorPolicy {}

Members

Static functions

configureMethod
void configureMethod(T instantiator, Locator!() locator)

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

Meta