Aggregate.getConstructor

Looks up and returns a constructor with a parameter list that exactly matches the given array of types.

  1. const(Constructor) getConstructor(Type[] parameterTypes)
  2. const(Constructor) getConstructor(TypeInfo[] parameterTypeInfos)
    class Aggregate
    final const
    const(Constructor)
    getConstructor
    ()
  3. const(Constructor) getConstructor()

Parameters

parameterTypeInfos TypeInfo[]

A parameter list the constructor must exactly match.

Return Value

Type: const(Constructor)

The constructor object, or null if no such constructor exists.

Meta