| FactoryResolverAdd Method (Type, Type) |
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,
Type resolveToType
)
Public Sub Add (
contractType As Type,
resolveToType As Type
)
public:
void Add(
Type^ contractType,
Type^ resolveToType
)
Parameters
- contractType
- Type: SystemType
The Type that contract name derives from. - resolveToType
- Type: SystemType
The type that is assigned to the contractname.
See Also