Click or drag to resize

FactoryResolverAdd Method (String, Type)

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,
	Type resolveToType
)

Parameters

contractName
Type: SystemString
The contractname to resolve.
resolveToType
Type: SystemType
The type that is assigned to the contractname.
See Also