FunctionInstanceFactory

Instantiates a component using a function/delegate with args

Encapsulates construction of component using a function, with args. Arguments from argument list that are RuntimeReferences, are automatically replaced with component extracted from locator.

template FunctionInstanceFactory (
Dg
Args...
) if (
isSomeFunction!Dg
) {}

Members

Aliases

Params
alias Params = Parameters!Dg
Undocumented in source.
Z
alias Z = ReturnType!Dg
Undocumented in source.

Classes

FunctionInstanceFactory
class FunctionInstanceFactory
Undocumented in source.

Parameters

Dg

type of function or delegate

Args

arguments mixed with references used to resolve function arguments

Meta