ComponentFactoriesConfigurator

class ComponentFactoriesConfigurator(configurators: Map<ComponentFactory.Key, ConfigurerFunction<Any>> = emptyMap(), factories: Map<ComponentFactory.Key, (ComponentConfigureContext) -> Component> = emptyMap()) : MergeableFactoriesConfigurator<ComponentConfigureContext, Component, ComponentFactory.Key>

用于对 ComponentFactory 进行聚合组装的配置器。

Constructors

Link copied to clipboard
constructor(configurators: Map<ComponentFactory.Key, ConfigurerFunction<Any>> = emptyMap(), factories: Map<ComponentFactory.Key, (ComponentConfigureContext) -> Component> = emptyMap())

Functions

Link copied to clipboard
fun <V1 : Component, CONF : Any> add(factory: MergeableFactory<ComponentFactory.Key, V1, CONF, ComponentConfigureContext>, configurator: ConfigurerFunction<CONF>)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard