Function methodConfigurer

Calls component's method with a set of arguments.

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

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

Parameters

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