register

inline fun Context.register(init: Context.() -> Unit): Context

Allows to register new components in the context with builder-like DSL.

Return

this context.

Parameters

init

will be invoked on this context.

See also