| FactoryCreateMany Method (Type, Object) |
Namespace:
Cauldron.Activator
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax Public Shared Function CreateMany (
contractType As Type,
ParamArray parameters As Object()
) As IEnumerable
Parameters
- contractType
- Type: SystemType
The Type that contract name derives from - parameters
- Type: SystemObject
An array of arguments that match in number, order, and type the parameters of the
constructor to invoke. If args is an empty array or null, the constructor that takes no
parameters (the default constructor) is invoked.
Return Value
Type:
IEnumerableA collection of the newly created objects.
Exceptions See Also