gh-pages / com.nextfaze.devfun.core / DevFun / get

get

inline fun <reified T : Any> get(): T (source)

Get an instance of a class using instanceProviders.

Intended for use in Kotlin code.

Exceptions

ClassInstanceNotFoundException - When T could not be found/instantiated and all providers have been checked.

See Also

instanceOf

InstanceProvider