Click or drag to resize

ComponentAttribute Constructor (Type, FactoryCreationPolicy)

Initializes an instance of ComponentAttribute. The default Priority is 0.

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
)

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
See Also