| IExportProviderGetExportedValuesT Method (String) |
Gets all the exported objects with the specified contract name.
Namespace:
TomsToolbox.Composition
Assembly:
TomsToolbox.Composition (in TomsToolbox.Composition.dll)
Syntax IEnumerable<T> GetExportedValues<T>(
string? contractName = null
)
where T : class
Function GetExportedValues(Of T As Class) (
Optional contractName As String = Nothing
) As IEnumerable(Of T)
Parameters
- contractName (Optional)
- Type: SystemString
Name of the contract.
Type Parameters
- T
- The type of the object.
Return Value
Type:
IEnumerableT
The object
See Also