callback

Construct aggregate using a delegate.

Constructs aggregate using a delegate, and a list of arguments passed to delegate.

Parameters

factory MetadataDecoratedGenericFactory!T

the factory which will use delegate to construct aggregate.

dg T function
(
Locator!()
,
Args
)

the delegate that is responsible for creating aggregate, given a list of arguments.

args Args

the arguments that will be used by delegate to construct aggregate.

Return Value

Type: auto

MetadataDecoratedGenericFactory!T.

Meta