ProviderRegistryImplication
Represents an implication relationship that can create registries with implied keys.
This interface provides methods to create either a Registry or a ProviderRegistry that includes both the original key and all its implied keys.
Type Parameters
T
The type of the source value from which implications are derived.
Functions
Link copied to clipboard
context(registry: MutableProviderRegistry)
infix fun <T> ProviderRegistryImplication<T>.correspondsTo(provider: RegisteredValueProvider<T>)
infix fun <T> ProviderRegistryImplication<T>.correspondsTo(provider: RegisteredValueProvider<T>)
DSL function to associate all keys from this implication with a provider in the context provider registry.
context(registry: MutableRegistry)
infix fun <T> ProviderRegistryImplication<T>.correspondsTo(value: T)
infix fun <T> ProviderRegistryImplication<T>.correspondsTo(value: T)
DSL function to associate all keys from this implication with a value in the context registry.
Link copied to clipboard
Creates a Registry with the implied keys, using a concrete value.
Creates a ProviderRegistry with the implied keys, using a provider.