 | IExportProviderGetExportedValueT Method |
Gets the exported object with the specified contract name.
Namespace: TomsToolbox.CompositionAssembly: TomsToolbox.Composition (in TomsToolbox.Composition.dll) Version: 2.20.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
SyntaxT GetExportedValue<T>(
string? contractName = null
)
where T : class
Function GetExportedValue(Of T As Class) (
Optional contractName As String = Nothing
) As T
Parameters
- contractName String (Optional)
- Name of the contract.
Type Parameters
- T
- The type of the object.
Return Value
T
The object
See Also