Class MethodConfigurer

Calls aggregate's method with a set of arguments.

class MethodConfigurer(T, string property, Args...)
  
if (isMethodCompatible!(T, property, Args));

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.

Constructors

NameDescription
thisConstructor for MethodConfigurer!(T, property, Args)

Methods

NameDescription
configureSee PropertyConfigurer interface

Parameters

NameDescription
T the aggregate type
property method that will be called
Args type tuple of args that method can be called with.