Click or drag to resize

IExportProviderTryGetExportedValueT Method

Tries to the get exported value.

Namespace: TomsToolbox.Composition
Assembly: 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

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