INNER CODE UNIT · Kotlin

UnusedParameterException

kosi-libs/Kodein · kodein-di/src/commonMain/kotlin/org/kodein/di/DI.kt:67

    public class UnusedParameterException(message: String, cause: Exception? = null) : RuntimeException(message, cause)

    override val di: DI get() = this

    /**
     * In DI, each [DIBinding] is bound to a Key. A Key holds all information necessary to retrieve a factory (and therefore an instance).
     *
     * A key contains many types & a tag.
     * It defines the types of the values that will be passed to and retrieved from DI, not the values themselves.
     *
     * @param C The in context type.
     * @param A The in argument type (`Unit` for a provider).
     * @param T The out type.
     * @property contextType The in context type.
     * @property argType The in argument type (`Unit` for a provider).
     * @property type The out type.
     * @property tag The associated tag.
     */

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…