Click or drag to resize

FactoryResolverAdd Method (Type, IFactoryTypeInfo)

Adds a new contractname resolver to the dictionary.

Namespace:  Cauldron.Activator
Assembly:  Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.1 (3.2.0.1)
Syntax
C#
public void Add(
	Type contractType,
	IFactoryTypeInfo factoryTypeInfo
)

Parameters

contractType
Type: SystemType
The Type that contract name derives from.
factoryTypeInfo
Type: Cauldron.ActivatorIFactoryTypeInfo
The factory type info of the given contract name. This can be an item from FactoryTypes or a custom item.
See Also