set

Invoke aggregate's method with supplied args.

Configures aggregate's factory to call specified method with passed args. The function will check if the arguments passed to it are compatible with at least one method from possible overload set. The args list can contain references to other objects in locator as well, though no type compatibility checks will be performed at compile time.

  1. auto set(MetadataDecoratedGenericFactory!T factory, Args args)
    set
    (
    string property
    T
    Args...
    )
    if (
    !isField!(T, property)
    )
  2. auto set(MetadataDecoratedGenericFactory!T factory, Arg arg)

Parameters

factory MetadataDecoratedGenericFactory!T

the factory which will be configured to invoke method.

args Args

the arguments that will be used to invoke method on the new object.

Return Value

Type: auto

MetadataDecoratedGenericFactory!T.

Meta