Click or drag to resize

ComponentAttribute Constructor (Type, FactoryCreationPolicy, UInt32)

Initializes an instance of ComponentAttribute

Namespace:  Cauldron.Activator
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public ComponentAttribute(
	Type contractType,
	FactoryCreationPolicy policy,
	uint priority
)

Parameters

contractType
Type: SystemType
A type from which to derive the contract name that is used to export the type
policy
Type: Cauldron.ActivatorFactoryCreationPolicy
The creation policy
priority
Type: SystemUInt32
The priority of the component. The Factory uses this information to sort the instances for CreateMany(String, Object)
See Also