doc / ch.tutteli.atrium.creating / ComponentFactory / <init>

<init>

ComponentFactory(build: (ComponentFactoryContainer) -> Any, producesSingleton: Boolean)

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