get

fun <T> <Error class: unknown class>.get(    definition: <Error class: unknown class><T>,     parameters: <Error class: unknown class>? = null): T(source)

Retrieves an instance of type T from the Koin container using a BeanDefinition.

Return

An instance of type T

Parameters

T

The type of instance to retrieve

definition

The bean definition to use for instance retrieval

parameters

Optional parameters to pass to the instance constructor


fun <T> <Error class: unknown class>.get(    definition: <Error class: unknown class><T>,     parameters: <Error class: unknown class>? = null): T(source)

Retrieves an instance of type T from the Koin container using an InstanceFactory.

Return

An instance of type T

Parameters

T

The type of instance to retrieve

definition

The instance factory to use for instance retrieval

parameters

Optional parameters to pass to the instance constructor


fun <T> <Error class: unknown class>.get(    definition: <Error class: unknown class><T>,     parameters: <Error class: unknown class>? = null): T(source)

Retrieves an instance of type T from the Koin container using a KoinDefinition.

Return

An instance of type T

Parameters

T

The type of instance to retrieve

definition

The Koin definition to use for instance retrieval

parameters

Optional parameters to pass to the instance constructor


fun <T> <Error class: unknown class>.get(    definition: <Error class: unknown class><T>,     parameters: <Error class: unknown class>? = null): T(source)

Retrieves an instance of type T from the current scope using a BeanDefinition.

Return

An instance of type T

Parameters

T

The type of instance to retrieve

definition

The bean definition to use for instance retrieval

parameters

Optional parameters to pass to the instance constructor


fun <T> <Error class: unknown class>.get(    definition: <Error class: unknown class><T>,     parameters: <Error class: unknown class>? = null): T(source)

Retrieves an instance of type T from the current scope using an InstanceFactory.

Return

An instance of type T

Parameters

T

The type of instance to retrieve

definition

The instance factory to use for instance retrieval

parameters

Optional parameters to pass to the instance constructor


fun <T> <Error class: unknown class>.get(    definition: <Error class: unknown class><T>,     parameters: <Error class: unknown class>? = null): T(source)

Retrieves an instance of type T from the current scope using a KoinDefinition.

Return

An instance of type T

Parameters

T

The type of instance to retrieve

definition

The Koin definition to use for instance retrieval

parameters

Optional parameters to pass to the instance constructor