Function methodConfigurer

Calls aggregate's method with a set of arguments.

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

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.

Parameters

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