MethodConfigurer

Calls aggregate's method with a set of arguments.

Encapsulates a call to aggregate's method, with a set of arguments. The algorithm that calls aggregate's method, will automatically replace references from args list with data extracted from container, casted to type that is extracted from method's signature.

class MethodConfigurer : ParameterHolder!Args, PropertyConfigurer!T(
T
string property
Args...
) if (
isMethodCompatible!(T, property, Args)
) {}

Constructors

this
this(Args args)
Undocumented in source.

Members

Functions

configure
void configure(T obj)

See PropertyConfigurer interface

Parameters

T

the aggregate type

property

method that will be called

Args

type tuple of args that method can be called with.

Meta