direct
fun direct(allowSilentOverride: Boolean = false, init: DI.MainBuilder.() -> Unit): DirectDI
Content copied to clipboard
Creates a direct DirectDI instance that will be lazily created upon first access.
Return
The new DirectDI object, freshly created, and ready for hard work!
Parameters
allow Silent Override
Whether the configuration block is allowed to non-explicit overrides.
init
The block of configuration.