Function fieldConfigurer

Sets component's field to a value.

auto auto fieldConfigurer(string property, T, Arg) (
  auto ref Arg arg
)
if (isField!(T, property));

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.