ConstructorAnnotation

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

  1. struct ConstructorAnnotation(Args...)
    @safe
    struct ConstructorAnnotation (
    Args...
    ) {}
  2. auto constructor(Args args)

Constructors

this
this(Args args)

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

Members

Variables

args
Args args;

List of arguments for constructor

Parameters

Args

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

Meta