Click or drag to resize

FactoryResolverAdd Method (Type, 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.2
Syntax
public void Add(
	Type contractType,
	Func<Type, IFactoryTypeInfo[], IFactoryTypeInfo> func
)

Parameters

contractType
Type: SystemType
The Type that contract name derives from.
func
Type: SystemFuncType, IFactoryTypeInfo, IFactoryTypeInfo
A function to execute on ambiguous match for the given contract name.
See Also