| IExportProviderGetExports(Type, String) Method |
Gets the exports for the specified parameters.
Namespace: TomsToolbox.CompositionAssembly: TomsToolbox.Composition (in TomsToolbox.Composition.dll) Version: 2.20.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
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
- The type of the requested object.
- contractName String (Optional)
- Name of the contract.
Return Value
IEnumerableIExportObject
The exports.
See Also