Click or drag to resize

ComponentAttribute Constructor (String, 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(
	string contractName,
	uint priority
)

Parameters

contractName
Type: SystemString
The contract name that is used to export the type
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