MergeableFactoriesConfigurator
open class MergeableFactoriesConfigurator<CONTEXT : Any, V : Any, K : MergeableFactory.Key>(configurators: Map<K, ConfigurerFunction<Any>>, factories: Map<K, (CONTEXT) -> V>)(source)
对一组 MergeableFactory 进行聚合组装的配置器。
Author
ForteScarlet
Types
Link copied to clipboard
Configurer fun type for MergeableFactoriesConfigurator.add.
Functions
Link copied to clipboard
fun <V1 : V, CONF : Any> add(factory: MergeableFactory<K, V1, CONF, CONTEXT>, configurator: ConfigurerFunction<CONF>)
向当前 MergeableFactoriesConfigurator 中添加一个 factory 对应的配置信息。 添加的配置逻辑 configurator 会与 factory 对应的现有逻辑(如果有的话)合并。
Link copied to clipboard