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