ComponentFactory

data class ComponentFactory(val build: (ComponentFactoryContainer) -> Any, val producesSingleton: Boolean)(source)

Provides a build lambda which produces the component and specifies via producesSingleton whether this component should be treated as singleton or not.

Constructors

Link copied to clipboard
constructor(build: (ComponentFactoryContainer) -> Any, producesSingleton: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard