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
constructor(actualIdentifier: Identifier<T>, makerIdentifier: Identifier<InjectableFactory<T>>)

Properties

Link copied to clipboard

The identifier for this declaration.

Link copied to clipboard

Tags attached to this declaration.

Functions

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

Create the resolver.

Link copied to clipboard

Adds the given tag to this declaration.

Adds the given tags to this declaration.