 | FactoryCreateFirst Method (String) |
Creates an instance of the specified type depending on the
ComponentAttribute.
If multiple implementations are available, the
Factory will prefer the implementation with the highest priority.
Namespace:
Cauldron.Activator
Assembly:
Cauldron.Activator (in Cauldron.Activator.dll) Version: 3.2.0.2
SyntaxPublic Shared Function CreateFirst (
contractName As String
) As Object
Parameters
- contractName
- Type: SystemString
The name that identifies the type
Return Value
Type:
ObjectA reference to the newly created object.
Exceptions
See Also