CallbackConfigurerAnnotation.factoryConfigurer

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

struct CallbackConfigurerAnnotation(Z, Dg, Args...)
factoryConfigurer
(
T
string p = ""
)
if (
is(T : Z)
)
if (
is(Dg == void delegate
(,
Z
,
Args
)
) ||
is(Dg == void function
(,
Z
,
Args
)
)
||
is(Dg == void delegate
(,
ref Z
,
Args
)
)
||
is(Dg == void function
(,
ref Z
,
Args
)
)
)

Parameters

T

the aggregate type

locator Locator!()

locator that can be used by delegate to extract some custom data.

Return Value

Type: PropertyConfigurer!T

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

Meta