ScopeId

annotation class ScopeId(val value: KClass<*> = Unit::class, val name: String = "")

Annotate a parameter from class constructor or function, to ask resolution for given scope with Scope Id

ScopedId can be defined with a String (name parameter) or a type (value parameter)

example:

Properties

Link copied to clipboard
Link copied to clipboard
val value: KClass<*>