ConstructorAnnotation.factoryContainer

Constructs a constructor based factory for aggregate of type T

struct ConstructorAnnotation(Args...)
factoryContainer
(
T
string property
)

Parameters

T

the aggregate type

locator Locator!()

locator used to extract needed dependencies for T

Return Value

Type: InstanceFactory!T

InstanceFactory!T for objects InstanceFactory!(Wrapper!T) for structs

Meta