 | FactoryResolverAdd Method (String, Type) |
Adds a new contractname resolver to the dictionary.
Namespace:
Cauldron.Activator
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
Syntaxpublic void Add(
string contractName,
Type resolveToType
)
Public Sub Add (
contractName As String,
resolveToType As Type
)
public:
void Add(
String^ contractName,
Type^ resolveToType
)
Parameters
- contractName
- Type: SystemString
The contractname to resolve. - resolveToType
- Type: SystemType
The type that is assigned to the contractname.
See Also