MethodConfigurer

Calls component's method with a set of arguments.

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.

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

Constructors

this
this(Args args)

Constructor for MethodConfigurer!(T, property, Args)

Members

Functions

configure
void configure(T obj)

See PropertyConfigurer interface

Mixins

__anonymous
mixin LocatorAwareMixin!(typeof(this))
Undocumented in source.
__anonymous
mixin ParameterHolder!Args
Undocumented in source.

Parameters

T

the component type

property

method that will be called

Args

type tuple of args that method can be called with.

Meta