Struct ConstructorAnnotation

Annotation used to mark a constructor to be used for aggregate instantiation.

struct ConstructorAnnotation(Args...) ;

Constructors

NameDescription
thisConstructor accepting a list of arguments, that will be passed to constructor.

Methods

NameDescription
factoryContainerConstructs a constructor based factory for aggregate of type T

Parameters

NameDescription
Args tuple of argument types for arguments to be passed into a constructor.