includeControls

fun includeControls(vararg properties: KProperty1<out ModelElement, *>)(source)

Re-includes the given controls on THIS model element, overriding the class default's exclude for the named properties. This is the opt-in for genuine state on an output abstraction, e.g. a controllable starting level: includeControls(Counter::initialCounterLimit).

Pass one or more compile-time-checked property references. References that do not correspond to a control are ignored. Must be called before the model is run (typically at construction time).

Parameters

properties

the control property references to re-include