Provider
class Provider<C : Any, T : Any>(contextType: TypeToken<in C>, createdType: TypeToken<out T>, creator: NoArgBindingDI<C>.() -> T) : NoArgDIBinding<C, T>
Content copied to clipboard
Concrete provider: each time an instance is needed, the function creator function will be called.
A provider is like a Factory, but without argument.
Parameters
T
The created type.
created Type
The type of objects created by this provider, used for debug print only.
Constructors
Functions
factory Full Name
Link copied to clipboard
The full(er) name of this factory, used for debug print only.
factory Name
Link copied to clipboard
The name of this factory, used for debug print only.
get Factory
Link copied to clipboard
Properties
contextType
Link copied to clipboard
createdType
Link copied to clipboard
creator
Link copied to clipboard
description
Link copied to clipboard
fullDescription
Link copied to clipboard
supportSubTypes
Link copied to clipboard