| IExportProviderTryGetExportedValueT Method |
Tries to the get exported value.
Namespace:
TomsToolbox.Composition
Assembly:
TomsToolbox.Composition (in TomsToolbox.Composition.dll)
Syntax bool TryGetExportedValue<T>(
string? contractName,
out T? value
)
where T : class
Function TryGetExportedValue(Of T As Class) (
contractName As String,
<OutAttribute> ByRef value As T
) As Boolean
Parameters
- contractName
- Type: SystemString
Name of the contract. - value
- Type: T
The value.
Type Parameters
- T
- The type of the object.
Return Value
Type:
Boolean
true if the value exists.
See Also