AutoBindIntoSet
annotation class AutoBindIntoSet(val inComponent: KClass<*> = Nothing::class, val asTypes: Array<KClass<*>> = [], val bindGenericAs: BindGenericAs = BindGenericAs.ExactType)(source)
A version of AutoBind that binds the object using IntoSet.
For more documentation on auto bind see AutoBind.
See also Set Multibindings
Since
1.0.0
Parameters
inComponent
Which component to install the binding in. Defaults to being inferred based on the scope.
asTypes
Specifies which supertypes to bind the object as. Required if there are multiple supertypes.
bindGenericAs
Specifies how generic supertypes should be bound. Defaults to BindGenericAs.ExactType or if the target type is annotated with BindGenericAs.Default.