FieldConfigurer

Sets component's field to a value.

Encapsulates logic that sets component's field to a certain value. If argument that is contained by configurer is a RuntimeReference, it will be automatically replaced with value extracted from locator, and set to component's field.

  1. class FieldConfigurer(T, string property, Arg)
    @safe
    class FieldConfigurer : PropertyConfigurer!T(
    T
    string property
    Arg
    ) if (
    isFieldCompatible!(T, property, Arg)
    ) {}
  2. auto fieldConfigurer(Arg arg)

Constructors

this
this(Arg arg)

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!Arg
Undocumented in source.

Meta