Class MethodConfigurer

Calls component's method with a set of arguments.

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

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.

Constructors

NameDescription
this Constructor for MethodConfigurer!(T, property, Args)

Methods

NameDescription
configure See PropertyConfigurer interface

Parameters

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