FactoryDeclaration

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.

Constructors

Link copied to clipboard
fun <T : Any> FactoryDeclaration(actualIdentifier: Identifier<T>, makerIdentifier: Identifier<InjectableFactory<T>>)

Functions

Link copied to clipboard
open override fun buildResolver(): IdentifierResolver<T>

Create the resolver.

Properties

Link copied to clipboard

The identifier for this declaration.

Link copied to clipboard

Tags attached to this declaration.

Extensions

Link copied to clipboard

Adds the given tag to this declaration.

Adds the given tags to this declaration.