ForService

class ForService : ParameterProvider

Base for single service providers

Functions

provide
Link copied to clipboard
open override fun provide(context: InjectionContext): Any?
Provides the serviceNOTICE: we always use context.getOrNull().
validate
Link copied to clipboard
open override fun validate(kontainer: Kontainer): List<String>
Validates if the service can be provided by the container