| IExportProviderGetExportedValues Method (Type, String) |
Gets all the exported objects with the specified contract name.
Namespace:
TomsToolbox.Composition
Assembly:
TomsToolbox.Composition (in TomsToolbox.Composition.dll)
Syntax IEnumerable<Object> GetExportedValues(
Type contractType,
string? contractName = null
)
Function GetExportedValues (
contractType As Type,
Optional contractName As String = Nothing
) As IEnumerable(Of Object)
Parameters
- contractType
- Type: SystemType
The type of the requested object. - contractName (Optional)
- Type: SystemString
Name of the contract.
Return Value
Type:
IEnumerableObject
The object
See Also