| IExportProviderTryGetExportedValueT Method |
Tries to the get exported value.
Namespace: TomsToolbox.CompositionAssembly: TomsToolbox.Composition (in TomsToolbox.Composition.dll) Version: 2.20.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
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 String
- Name of the contract.
- value T
- The value.
Type Parameters
- T
- The type of the object.
Return Value
Boolean
true if the value exists.
See Also