Function ConstructorAnnotation.factoryContainer

Constructs a constructor based factory for aggregate of type T

InstanceFactory!T factoryContainer(T, string property) (
  Locator!() locator
);

Parameters

NameDescription
T the aggregate type
locator locator used to extract needed dependencies for T

Returns

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