public class InjectedConstructor<T>
A constructor available for injection using a Kodein instance.
| Modifier and Type | Class and Description |
|---|---|
static class |
InjectedConstructor.Companion |
| Modifier and Type | Field and Description |
|---|---|
static InjectedConstructor.Companion |
Companion |
| Constructor and Description |
|---|
InjectedConstructor(kotlin.reflect.KFunction<? extends T> constructor,
com.github.salomonbrys.kodein.Kodein kodein)
A constructor available for injection using a Kodein instance.
|
| Modifier and Type | Method and Description |
|---|---|
kotlin.reflect.KFunction<T> |
getConstructor() |
com.github.salomonbrys.kodein.Kodein |
getKodein() |
T |
inject()
Instantiates the class and injects parameters into the constructor.
|
public static InjectedConstructor.Companion Companion