Click or drag to resize

ComponentAttribute Constructor (String, FactoryCreationPolicy, UInt32)

Initializes an instance of ComponentAttribute

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

Parameters

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)
Exceptions
ExceptionCondition
ArgumentNullExceptionParameter contractName is null
ArgumentExceptionParameter contractName is empty
See Also