kontainer
/
de.peekandpoke.ultra.kontainer
/
ParameterProvider
/
ForService
For
Service
class
ForService
:
ParameterProvider
Content copied to clipboard
Base for single service providers
Functions
Functions
provide
Link copied to clipboard
open override fun
provide
(context:
InjectionContext
):
Any
?
Content copied to clipboard
Provides the serviceNOTICE: we always use context.getOrNull().
validate
Link copied to clipboard
open override fun
validate
(kontainer:
Kontainer
):
List
<
String
>
Content copied to clipboard
Validates if the service can be provided by the container