Click or drag to resize

FactoryResolverAdd Method (String, FuncType, IFactoryTypeInfo, 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,
	Func<Type, IFactoryTypeInfo[], IFactoryTypeInfo> func
)

Parameters

contractName
Type: SystemString
The contractname to resolve.
func
Type: SystemFuncType, IFactoryTypeInfo, IFactoryTypeInfo
A function to execute on ambiguous match for the given contract name.
See Also