Click or drag to resize

FactoryResolver.Add 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: System.String
The contractname to resolve.
resolveToType
Type: System.Type
The type that is assigned to the contractname.
See Also