Click or drag to resize

FactoryCreateManyOrdered Method (Type)

Creates instances of the specified type depending on the ComponentAttribute The returned values are ordered by the defined priority.

Namespace:  Cauldron.Activator
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax
public static IEnumerable CreateManyOrdered(
	Type contractType
)

Parameters

contractType
Type: SystemType
The Type that contract name derives from

Return Value

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