UnknownInjection

data class UnknownInjection : ParameterProvider

Fallback that always produces an error

Functions

Link copied to clipboard
open override fun getInjectedServiceTypes(blueprint: KontainerBlueprint): Set<KClass<*>>

Get the injected services types

Link copied to clipboard
open override fun getProvisionType(): ParameterProvider.ProvisionType

Gets the provision type of the parameter.

Link copied to clipboard
open override fun provide(context: InjectionContext): Nothing

Will always raise a KontainerInconsistent

Link copied to clipboard
open override fun validate(kontainer: Kontainer): List<String>

Will always return an error

Properties

Link copied to clipboard
open override val parameter: KParameter

The name of the parameter