Click or drag to resize

IExportProviderGetExportsT Method (String)

Gets the exports for the specified parameters.

Namespace:  TomsToolbox.Composition
Assembly:  TomsToolbox.Composition (in TomsToolbox.Composition.dll)
Syntax
IEnumerable<IExport<T>> GetExports<T>(
	string? contractName
)
where T : class

Parameters

contractName
Type: SystemString
Name of the contract.

Type Parameters

T
The type of the requested object.

Return Value

Type: IEnumerableIExportT
The exports.
See Also