Click or drag to resize

GenericComponentAttribute Constructor (Type, Type, 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,
	Type contractType,
	FactoryCreationPolicy policy
)

Parameters

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