Package-level declarations
Types
Link copied to clipboard
class FactoryDeclaration<T : Any>(actualIdentifier: Identifier<T>, makerIdentifier: Identifier<InjectableFactory<T>>) : ResolvableDeclaration<T>
A declaration that declares a resolver for elements generated by a factory.
Link copied to clipboard
class FactoryResolver<T : Any>(makerIdentifier: Identifier<InjectableFactory<T>>) : IdentifierResolver<T>
An IdentifierResolver that resolves elements generated by a factory.
Link copied to clipboard
An injectable component whose job is to create components of the same type repeatably.
Link copied to clipboard
class SynchronizedLazyPropertyWrapper<T, V : Any>(wrappedProperty: ReadOnlyProperty<T, V>) : ReadOnlyProperty<T, V>
Similar to lazy { }
but uses a property instead of a lambda for building. Inspired by the SYNCHRONIZED
lazy implementation.
Functions
Link copied to clipboard
DSL for injecting factory-made objects. Usage is factory from scope
.
Link copied to clipboard
Allows to put a factory within the module or environment.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
inline fun <T, V, R> WrappedReadOnlyProperty(original: ReadOnlyProperty<T, V>, crossinline mapper: (T, V) -> R): ReadOnlyProperty<T, R>
Wraps a property and maps its result using the given mapper.