value

Instantiates a component using a value as basis.

Instantiates a component using a value as basis. As a consequence, any reference based type will point to same content when it is instantiated multiple times.

@safe
Z
value
(
Z : InstanceFactoryAware!T
T
)
(,
auto ref T value
)

Parameters

T

the component type

factory Z

ConfigurationContextFactory where to inject the constructor or method configurer

value T

default value used to instantiate component

Meta