ImplicationRegistration

data class ImplicationRegistration<in I, T>(val key: RegistryKey<T>, val mapping: (I) -> T)(source)

Represents a registration of an implied key with its mapping function.

Parameters

key

The RegistryKey that can be implied.

mapping

A function that computes the value for the implied key from the source value.

Type Parameters

I

The type of the source value from which implied values are derived.

T

The type of the value that the implied key will produce.

Constructors

Link copied to clipboard
constructor(key: RegistryKey<T>, mapping: (I) -> T)

Properties

Link copied to clipboard
Link copied to clipboard
val mapping: (I) -> T