setDefaultFor
context(registry: MutableOwnedProviderRegistry<KoneContextRegistry>)
fun <Element> Hashing.Companion.setDefaultFor()(source)
fun <Element> Hashing.Companion.setDefaultFor()(source)
Sets default Hashing context for the given supplied type Element into context registry builder.
The registered hashing context uses the standard Any.hashCode method for hash computation.
Receiver
The hashing 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 default hashing context.