setDefaultFor
context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
inline fun <Element> Reification.Companion.setDefaultFor()(source)
inline fun <Element> Reification.Companion.setDefaultFor()(source)
Sets Reification context for the given suppliedElementType into context registry builder. The set reification just only checks that the element is of type Element.
Receiver
The reification companion object.
Context Parameters
registry
The mutable owned provider registry to register into.
Type Parameters
Element
The supplied element type for which to set the reification context.