Click or drag to resize

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
)

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