Click or drag to resize

IExportProviderGetExportedValues Method (Type, String)

Gets all the exported objects with the specified contract name.

Namespace:  TomsToolbox.Composition
Assembly:  TomsToolbox.Composition (in TomsToolbox.Composition.dll)
Syntax
IEnumerable<Object> GetExportedValues(
	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: IEnumerableObject
The object
See Also