| IExportProviderGetExports Method (Type, String) |
Gets the exports for the specified parameters.
Namespace:
TomsToolbox.Composition
Assembly:
TomsToolbox.Composition (in TomsToolbox.Composition.dll)
Syntax IEnumerable<IExport<Object>> GetExports(
Type contractType,
string? contractName = null
)
Function GetExports (
contractType As Type,
Optional contractName As String = Nothing
) As IEnumerable(Of IExport(Of Object))
Parameters
- contractType
- Type: SystemType
The type of the requested object. - contractName (Optional)
- Type: SystemString
Name of the contract.
Return Value
Type:
IEnumerableIExportObject
The exports.
See Also