substitute

abstract fun substitute(value: T): Registry(source)

Creates a Registry with the implied keys, using a concrete value.

Return

A Registry containing the original key and all implied keys with their computed values.

Parameters

value

The source value of type T to compute implied values from.


Creates a ProviderRegistry with the implied keys, using a provider.

Return

A ProviderRegistry containing the original key and all implied keys with their providers.

Parameters

provider

The RegisteredValueProvider of type T that supplies the source value.