CallbackConfigurerAnnotation

Annotation that specifies a delegate to be used to configure aggregate somehow.

struct CallbackConfigurerAnnotation (
Z
Dg
Args...
) if (
is(Dg == void delegate
(
Locator!()
,
Z
,
Args
)
) ||
is(Dg == void function
(
Locator!()
,
Z
,
Args
)
)
||
is(Dg == void delegate
(
Locator!()
,
ref Z
,
Args
)
)
||
is(Dg == void function
(
Locator!()
,
ref Z
,
Args
)
)
) {}

Constructors

this
this(Dg dg, Args args)

Constructor accepting a configurer delegate, and it's arguments.

Members

Functions

factoryConfigurer
PropertyConfigurer!T factoryConfigurer(Locator!() locator)

Constructs a configurer that uses delegate to configure an aggregate of type T.

Variables

args
Tuple!Args args;
Undocumented in source.
dg
Dg dg;
Undocumented in source.

Parameters

Z

the type of aggregate that will be returned by the delegate

Args

type tuple of args that can be passed to delegate.

Meta