| FactoryCreateManyT Method (Object) |
Namespace:
Cauldron.Activator
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax public static IEnumerable<T> CreateMany<T>(
params Object[] parameters
)
where T : class
Public Shared Function CreateMany(Of T As Class) (
ParamArray parameters As Object()
) As IEnumerable(Of T)
public:
generic<typename T>
where T : ref class
static IEnumerable<T>^ CreateMany(
... array<Object^>^ parameters
)
Parameters
- 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.
Type Parameters
- T
- The Type that contract name derives from
Return Value
Type:
IEnumerableTA collection of the newly created objects.
Exceptions See Also