injectsIn

public final Unit injectsIn(KClass<?> injectsIn)

this function specify where the given dependency is going tobe injected

Parameters

injectsIn

is a list of KClasses of the target receivers


public final Unit injectsIn(KClass<?> injectsIn)

this function specify where the given dependency is going tobe injected

Parameters

injectsIn

is a KClass of the target receiver


public final Unit injectsIn(Function1<FactoryBuilder, KClass<?>> block)

this function takes a lambda with KClass as a return type this function specify where the given dependency is going tobe injected

Parameters

block

is a lambda with KClass as a return type of the target receiver