| IExportProviderGetExportsT, TMetadataView(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<T, TMetadataView>> GetExports<T, TMetadataView>(
string? contractName = null
)
where T : class
where TMetadataView : class
Function GetExports(Of T As Class, TMetadataView As Class) (
Optional contractName As String = Nothing
) As IEnumerable(Of IExport(Of T, TMetadataView))
Parameters
- contractName String (Optional)
- Name of the contract.
Type Parameters
- T
- The type of the requested object.
- TMetadataView
- The type of the metadata of the requested object
Return Value
IEnumerableIExportT,
TMetadataView
The exports.
See Also