Skip to content

Bind

hexagon_core / com.hexagonkt.injection / InjectionManager / bind

bind

fun <T :Any, R : T> bind(type:KClass<T>, provider:Provider<R>, tag:Any= Unit):Unit fun <T :Any, R : T> bind(type:KClass<T>, tag:Any= Unit, provider: () -> R):Unit fun <T :Any, R : T> bind(type:KClass<T>, provider: () -> R):Unit fun <T :Any, R : T> bind(type:KClass<T>, instance: R, tag:Any= Unit):Unit fun <T :Any, R : T> bind(type:KClass<T>, instance: R):Unit inline fun <reified T :Any> bind(tag:Any, noinline provider: () -> T):Unit inline fun <reified T :Any> bind(noinline provider: () -> T):Unit fun <reified T :Any> bind(instance: T, tag:Any= Unit):Unit fun <T :Any, R : T> bind(type:KClass<T>, providers:List<() -> R>):Unit fun <reified T :Any> bind(providers:List<() -> T>):Unit fun <T :Any, R : T> bind(type:KClass<T>, providers:Map<Any, () -> R>):Unit fun <reified T :Any> bind(providers:Map<Any, () -> T>):Unit

Comments