Click or drag to resize

FactoryResolver.AddConditional Method

Adds a new conditional 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 AddConditional(
	Type condition,
	Type contractType,
	Type resolveToType
)

Parameters

condition
Type: System.Type
The condition Type.
contractType
Type: System.Type
The Type that contract name derives from.
resolveToType
Type: System.Type
The type that is assigned to the contractname.
See Also