Click or drag to resize

FactoryCreateManyT Method

Creates instances of the specified type depending on the ComponentAttribute

Namespace:  Cauldron.Activator
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public static IEnumerable<T> CreateMany<T>()
where T : class

Type Parameters

T
The Type that contract name derives from

Return Value

Type: IEnumerableT
A collection of the newly created objects.
Exceptions
ExceptionCondition
KeyNotFoundException The contract described by T was not found
ExceptionUnknown FactoryCreationPolicy
NotSupportedException An Object with Singleton with an implemented IDisposable must also implement the IDisposableObject interface.
See Also