T - The collection element typepublic static interface Binder.CollectionMultiBindingBuilder<T> extends Binder.Linked<Binder.CollectionMultiBindingBuilder<T>,T>, Binder.Scoped
Binder.MultiBindingBuilder| Modifier and Type | Method and Description |
|---|---|
Binder.CollectionMultiBindingBuilder<T> |
toInstance(T instance)
Adds an instance of the specific element type to the collection
|
to, to, toFactory, toFactory, toGenericProvider, toProvider, toProvider, toProviderin, singletonBinder.CollectionMultiBindingBuilder<T> toInstance(T instance)
instance - The bound instance