Click or drag to resize

GenericComponentAttribute Constructor (Type, String, FactoryCreationPolicy, UInt32)

Initializes an instance of GenericComponentAttribute

Namespace:  Cauldron.Activator
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntax
public GenericComponentAttribute(
	Type type,
	string contractName,
	FactoryCreationPolicy policy,
	uint priority
)

Parameters

type
Type: SystemType
The generic type to be defined as component.
contractName
Type: SystemString
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