invoke
operator fun invoke(allowSilentOverride: Boolean = false, init: DI.MainBuilder.() -> Unit): DI
Content copied to clipboard
Creates a DI instance.
Return
The new DI object, freshly created, and ready for hard work!
Parameters
allowSilentOverride
Whether the configuration block is allowed to non-explicit overrides.
init
The block of configuration.