Click or drag to resize

GenericComponentAttribute Constructor (Type, String, FactoryCreationPolicy)

Initializes an instance of GenericComponentAttribute

Namespace:  Cauldron.Activator
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public GenericComponentAttribute(
	Type type,
	string contractName,
	FactoryCreationPolicy policy
)

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