methodConfigurer

Invoke aggregate's method with supplied args.

Configures aggregate's factory to call specified method with passed args. The function will check if the arguments passed to it are compatible with at least one method from possible overload set. The args list can contain references to other objects in locator as well, though no type compatibility checks will be performed at compile time.

methodConfigurer
(
string property
T
Args...
)
(,
auto ref Args args
)
if (
!isField!(T, property)
)

Parameters

args Args

the arguments that will be used to invoke method on the new object.

Return Value

Type: auto

GenericFactory!T.

Meta