Click or drag to resize

IExportProviderGetExportsT, TMetadataView(String) Method

Gets the exports for the specified parameters.

Namespace: TomsToolbox.Composition
Assembly: 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

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