Click or drag to resize

FactoryResolverAdd Method (String, 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(
	string contractName,
	IFactoryTypeInfo factoryTypeInfo
)

Parameters

contractName
Type: SystemString
The contractname to resolve.
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